Belos
Version of the Day
|
Belos's basic output manager for sending information of select verbosity levels to the appropriate output stream. More...
#include <BelosIteration.hpp>
Public Member Functions | |
Constructors/Destructor | |
OutputManager (int vb=Belos::Errors, const Teuchos::RCP< std::ostream > &os=Teuchos::rcp(&std::cout, false)) | |
Basic constructor. More... | |
virtual | ~OutputManager () |
Destructor. More... | |
Set methods | |
void | setOStream (const Teuchos::RCP< std::ostream > &os) |
Set the output stream for this manager. More... | |
void | setVerbosity (int vb) |
Set the verbosity level for this manager. More... | |
Get methods | |
std::ostream & | stream (MsgType type) |
Get an output stream for outputting the input message type. More... | |
Teuchos::RCP< std::ostream > | getOStream () |
Get the output stream for this manager. More... | |
Query methods | |
bool | isVerbosity (MsgType type) const |
Find out whether we need to print out information for this message type. More... | |
void | print (MsgType type, const std::string output) |
@ name Print methods More... | |
Belos's basic output manager for sending information of select verbosity levels to the appropriate output stream.
This output manager will remove the need for the solver or linear problem to know any information about the required output. Calling isVerbosity( MsgType vb )
will inform the solver if it is supposed to output the information corresponding to the verbosity type (vb
).
Definition at line 64 of file BelosIteration.hpp.
Belos::OutputManager< ScalarType >::OutputManager | ( | int | vb = Belos::Errors , |
const Teuchos::RCP< std::ostream > & | os = Teuchos::rcp(&std::cout,false) |
||
) |
Basic constructor.
Definition at line 154 of file BelosOutputManager.hpp.
|
inlinevirtual |
Destructor.
Definition at line 84 of file BelosOutputManager.hpp.
|
inline |
Set the output stream for this manager.
Definition at line 91 of file BelosOutputManager.hpp.
|
inline |
Set the verbosity level for this manager.
Definition at line 94 of file BelosOutputManager.hpp.
|
inline |
Get an output stream for outputting the input message type.
Definition at line 102 of file BelosOutputManager.hpp.
|
inline |
Get the output stream for this manager.
Definition at line 111 of file BelosOutputManager.hpp.
|
inline |
Find out whether we need to print out information for this message type.
This method is used by the solver to determine whether computations are necessary for this message type.
Definition at line 122 of file BelosOutputManager.hpp.
void Belos::OutputManager< ScalarType >::print | ( | MsgType | type, |
const std::string | output | ||
) |
@ name Print methods
Send some output of a specified message type to the output stream.
Definition at line 172 of file BelosOutputManager.hpp.