Anasazi
Version of the Day
|
Output managers remove the need for the eigensolver to know any information about the required output. Calling isVerbosity( MsgType type ) informs the solver if it is supposed to output the information corresponding to the message type. More...
#include <AnasaziOutputManager.hpp>
Public Member Functions | |
Constructors/Destructor | |
OutputManager (int vb=Anasazi::Errors, const Teuchos::RCP< Teuchos::FancyOStream > &fos=Teuchos::getFancyOStream(Teuchos::rcpFromRef(std::cout))) | |
Default constructor. More... | |
virtual | ~OutputManager () |
Destructor. More... | |
Set/Get methods | |
virtual void | setVerbosity (int vb) |
Set the message output types for this manager. More... | |
virtual int | getVerbosity () const |
Get the message output types for this manager. More... | |
virtual void | setFancyOStream (const Teuchos::RCP< Teuchos::FancyOStream > &fos) |
Set the formatted output stream object for this manager. More... | |
virtual const Teuchos::RCP < Teuchos::FancyOStream > & | getFancyOStream () const |
Get the formatted output stream object for this manager. More... | |
Output methods | |
virtual bool | isVerbosity (MsgType type) const |
Find out whether we need to print out information for this message type. More... | |
virtual void | print (MsgType type, const std::string output) |
Send output to the output manager. More... | |
virtual Teuchos::FancyOStream & | stream (MsgType type) |
Create a stream for outputting to. More... | |
Output managers remove the need for the eigensolver to know any information about the required output. Calling isVerbosity( MsgType type ) informs the solver if it is supposed to output the information corresponding to the message type.
Definition at line 68 of file AnasaziOutputManager.hpp.
|
inline |
Default constructor.
Definition at line 76 of file AnasaziOutputManager.hpp.
|
inlinevirtual |
Destructor.
Definition at line 85 of file AnasaziOutputManager.hpp.
|
inlinevirtual |
Set the message output types for this manager.
Definition at line 92 of file AnasaziOutputManager.hpp.
|
inlinevirtual |
Get the message output types for this manager.
Definition at line 95 of file AnasaziOutputManager.hpp.
|
inlinevirtual |
Set the formatted output stream object for this manager.
Definition at line 98 of file AnasaziOutputManager.hpp.
|
inlinevirtual |
Get the formatted output stream object for this manager.
Definition at line 101 of file AnasaziOutputManager.hpp.
|
virtual |
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 142 of file AnasaziOutputManager.hpp.
|
virtual |
Send output to the output manager.
Definition at line 151 of file AnasaziOutputManager.hpp.
|
virtual |
Create a stream for outputting to.
Definition at line 159 of file AnasaziOutputManager.hpp.