#include <BelosOutputManager.hpp>
Public Member Functions | |
Constructors/Destructor | |
| OutputManager (int vb=Belos::Errors, const Teuchos::RCP< std::ostream > &os=Teuchos::rcp(&std::cout, false)) | |
| Basic constructor. | |
| virtual | ~OutputManager () |
| Destructor. | |
Set methods | |
| void | setOStream (const Teuchos::RCP< std::ostream > &os) |
| Set the output stream for this manager. | |
| void | setVerbosity (int vb) |
| Set the verbosity level for this manager. | |
Get methods | |
| std::ostream & | stream (MsgType type) |
| Get an output stream for outputting the input message type. | |
| Teuchos::RCP< std::ostream > | getOStream () |
| Get the output stream for this manager. | |
Query methods | |
| bool | isVerbosity (MsgType type) const |
| Find out whether we need to print out information for this message type. | |
| void | print (MsgType type, const std::string output) |
| Send some output of a specified message type to the 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 59 of file BelosOutputManager.hpp.
| Belos::OutputManager< ScalarType >::OutputManager | ( | int | vb = Belos::Errors, |
|
| const Teuchos::RCP< std::ostream > & | os = Teuchos::rcp(&std::cout, false) | |||
| ) |
| virtual Belos::OutputManager< ScalarType >::~OutputManager | ( | ) | [inline, virtual] |
| void Belos::OutputManager< ScalarType >::setOStream | ( | const Teuchos::RCP< std::ostream > & | os | ) | [inline] |
| void Belos::OutputManager< ScalarType >::setVerbosity | ( | int | vb | ) | [inline] |
| std::ostream& Belos::OutputManager< ScalarType >::stream | ( | MsgType | type | ) | [inline] |
Get an output stream for outputting the input message type.
Definition at line 88 of file BelosOutputManager.hpp.
| Teuchos::RCP<std::ostream> Belos::OutputManager< ScalarType >::getOStream | ( | ) | [inline] |
| bool Belos::OutputManager< ScalarType >::isVerbosity | ( | MsgType | type | ) | const [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 108 of file BelosOutputManager.hpp.
| void Belos::OutputManager< ScalarType >::print | ( | MsgType | type, | |
| const std::string | output | |||
| ) |
Send some output of a specified message type to the output stream.
Definition at line 158 of file BelosOutputManager.hpp.
1.4.7