Anasazi  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
Anasazi::OutputManager< ScalarType > Class Template Reference

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>

Inheritance diagram for Anasazi::OutputManager< ScalarType >:
Anasazi::BasicOutputManager< ScalarType >

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::FancyOStreamstream (MsgType type)
 Create a stream for outputting to. More...
 

Detailed Description

template<class ScalarType>
class Anasazi::OutputManager< ScalarType >

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.

Author
Chris Baker, Ulrich Hetmaniuk, Rich Lehoucq, and Heidi Thornquist

Definition at line 68 of file AnasaziOutputManager.hpp.

Constructor & Destructor Documentation

template<class ScalarType>
Anasazi::OutputManager< ScalarType >::OutputManager ( int  vb = Anasazi::Errors,
const Teuchos::RCP< Teuchos::FancyOStream > &  fos = Teuchos::getFancyOStream(Teuchos::rcpFromRef(std::cout)) 
)
inline

Default constructor.

Definition at line 76 of file AnasaziOutputManager.hpp.

template<class ScalarType>
virtual Anasazi::OutputManager< ScalarType >::~OutputManager ( )
inlinevirtual

Destructor.

Definition at line 85 of file AnasaziOutputManager.hpp.

Member Function Documentation

template<class ScalarType>
virtual void Anasazi::OutputManager< ScalarType >::setVerbosity ( int  vb)
inlinevirtual

Set the message output types for this manager.

Definition at line 92 of file AnasaziOutputManager.hpp.

template<class ScalarType>
virtual int Anasazi::OutputManager< ScalarType >::getVerbosity ( ) const
inlinevirtual

Get the message output types for this manager.

Definition at line 95 of file AnasaziOutputManager.hpp.

template<class ScalarType>
virtual void Anasazi::OutputManager< ScalarType >::setFancyOStream ( const Teuchos::RCP< Teuchos::FancyOStream > &  fos)
inlinevirtual

Set the formatted output stream object for this manager.

Definition at line 98 of file AnasaziOutputManager.hpp.

template<class ScalarType>
virtual const Teuchos::RCP<Teuchos::FancyOStream>& Anasazi::OutputManager< ScalarType >::getFancyOStream ( ) const
inlinevirtual

Get the formatted output stream object for this manager.

Definition at line 101 of file AnasaziOutputManager.hpp.

template<class ScalarType >
bool Anasazi::OutputManager< ScalarType >::isVerbosity ( MsgType  type) const
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.

template<class ScalarType >
void Anasazi::OutputManager< ScalarType >::print ( MsgType  type,
const std::string  output 
)
virtual

Send output to the output manager.

Definition at line 151 of file AnasaziOutputManager.hpp.

template<class ScalarType >
Teuchos::FancyOStream & Anasazi::OutputManager< ScalarType >::stream ( MsgType  type)
virtual

Create a stream for outputting to.

Examples:
LOBPCGEpetraEx.cpp, and LOBPCGEpetraExSimple.cpp.

Definition at line 159 of file AnasaziOutputManager.hpp.


The documentation for this class was generated from the following file: