Belos Package Browser (Single Doxygen Collection)  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
Factory.cpp File Reference
#include "Teuchos_UnitTestHarness.hpp"
#include "Teuchos_CommandLineProcessor.hpp"
#include "BelosLinearProblem.hpp"
#include "BelosSolverFactory.hpp"
#include "BelosGCRODRSolMgr.hpp"
#include "BelosPseudoBlockGmresSolMgr.hpp"
#include "BelosPseudoBlockCGSolMgr.hpp"
#include "BelosBlockGmresSolMgr.hpp"
#include "BelosBlockCGSolMgr.hpp"
#include "BelosFixedPointSolMgr.hpp"
#include "BelosLSQRSolMgr.hpp"
#include "BelosPCPGSolMgr.hpp"
#include "BelosRCGSolMgr.hpp"
#include "BelosBiCGStabSolMgr.hpp"
#include "MyMultiVec.hpp"
#include "MyBetterOperator.hpp"
#include "MyOperator.hpp"
Include dependency graph for Factory.cpp:

Go to the source code of this file.

Macros

#define BELOS_TEST_SOLVER(SOLVER_NAME)
 

Functions

template<class ScalarType , class FactoryType , class SolverBaseType , class SolverImplType >
void testSolver (bool &success, Teuchos::FancyOStream &out, const std::string &solverName)
 
 TEUCHOS_UNIT_TEST (Factory, Bug6383)
 
 TEUCHOS_UNIT_TEST (Factory, Bug6383_Float)
 

Macro Definition Documentation

#define BELOS_TEST_SOLVER (   SOLVER_NAME)
Value:
do { \
const std::string solverName (SOLVER_NAME); \
try { \
bool curSuccess = true; \
testSolver<ST, factory_type, solver_base_type, solver_impl_type> (curSuccess, out, solverName); \
if (! curSuccess) { \
failedSolvers.push_back (solverName); \
} \
success = success && curSuccess; \
} catch (std::exception& e) { \
out << "*** Solver \"" << solverName << "\" threw an exception: " \
<< e.what () << std::endl; \
success = false; \
failedSolvers.push_back (solverName); \
} \
} while (false)

Definition at line 179 of file Factory.cpp.

Function Documentation

template<class ScalarType , class FactoryType , class SolverBaseType , class SolverImplType >
void testSolver ( bool &  success,
Teuchos::FancyOStream out,
const std::string &  solverName 
)

Definition at line 33 of file Factory.cpp.

TEUCHOS_UNIT_TEST ( Factory  ,
Bug6383   
)

Definition at line 201 of file Factory.cpp.

TEUCHOS_UNIT_TEST ( Factory  ,
Bug6383_Float   
)

Definition at line 317 of file Factory.cpp.