11#ifndef BELOS_STATUS_TEST_OUTPUT_FACTORY_HPP
12#define BELOS_STATUS_TEST_OUTPUT_FACTORY_HPP
36template <
class ScalarType,
class MV,
class OP,
class DM = DefaultDenseMatrix<
int,ScalarType>>
83 Teuchos::RCP<StatusTestOutput<ScalarType,MV,OP,DM> >
outputTest;
85 switch( outputStyle_ ) {
132 Teuchos::RCP<std::map<std::string,Teuchos::RCP<StatusTest<ScalarType,MV,OP,DM> > > > taggedTests_;
136 StatusTestOutputFactory(
const StatusTestOutputFactory<ScalarType,MV,OP,DM>& ) {}
142#ifdef HAVE_BELOS_TPETRA
145#define BELOS_TPETRA_STATUSTESTOUTPUTFACTORY_NOEXTERN_CALL(SC, LO, GO, NT) \
146 BELOS_TPETRA_CALL(Belos::StatusTestOutputFactory, SC, LO, GO, NT)
148#define BELOS_TPETRA_STATUSTESTOUTPUTFACTORY_EXTERN_CALL(SC, LO, GO, NT) \
149 BELOS_TPETRA_EXTERN_CALL(Belos::StatusTestOutputFactory, SC, LO, GO, NT)
151TPETRA_INSTANTIATE_SLGN_NO_ORDINAL_SCALAR(BELOS_TPETRA_STATUSTESTOUTPUTFACTORY_EXTERN_CALL)
Belos header file which uses auto-configuration information to include necessary C++ headers.
Special StatusTest for printing any kind of status test.
Special StatusTest for printing status tests in simple format for residuals.
Special StatusTest for printing status tests in simple format for residuals.
Collection of types and exceptions used within the Belos solvers.
Alternative run-time polymorphic interface for operators.
A factory class for generating StatusTestOutput objects.
virtual ~StatusTestOutputFactory()
Destructor.
Teuchos::RCP< StatusTestOutput< ScalarType, MV, OP, DM > > create(const Teuchos::RCP< OutputManager< ScalarType > > &printer, Teuchos::RCP< StatusTest< ScalarType, MV, OP, DM > > test, int mod, int printStates)
Create the StatusTestOutput object specified by the outputStyle.
StatusTestOutputFactory(int outputStyle, Teuchos::RCP< std::map< std::string, Teuchos::RCP< StatusTest< ScalarType, MV, OP, DM > > > > taggedTests=Teuchos::null)
Constructor.