10#ifndef ANASAZI_OUTPUT_MANAGER_HPP 
   11#define ANASAZI_OUTPUT_MANAGER_HPP 
   20#include "Teuchos_FancyOStream.hpp" 
   21#include "Teuchos_RCP.hpp" 
   22#include "Teuchos_oblackholestream.hpp" 
   35template <
class ScalarType>
 
   45                 const Teuchos::RCP<Teuchos::FancyOStream> &fos = Teuchos::getFancyOStream(Teuchos::rcpFromRef(std::cout)) )
 
   49    bh_fos_ = Teuchos::getFancyOStream(Teuchos::rcpFromRef( myBHS_ ));
 
 
   66  virtual void setFancyOStream( 
const Teuchos::RCP<Teuchos::FancyOStream>& fos ) { fos_ = fos; }
 
   69  virtual const Teuchos::RCP<Teuchos::FancyOStream>& 
getFancyOStream( )
 const { 
return fos_; }
 
   83  virtual void print( 
MsgType type, 
const std::string output );
 
  105  Teuchos::RCP<Teuchos::FancyOStream> fos_, bh_fos_;
 
  106  Teuchos::oblackholestream myBHS_;
 
 
  109template<
class ScalarType>
 
  112  if ( (type & vb_) == type ) {
 
 
  118template<
class ScalarType>
 
  121  if ( (type & vb_) == type ) {
 
 
  126template<
class ScalarType>
 
  128  if ( (type & vb_) == type ) 
 
 
Anasazi header file which uses auto-configuration information to include necessary C++ headers.
 
Types and exceptions used within Anasazi solvers and interfaces.
 
Output managers remove the need for the eigensolver to know any information about the required output...
 
virtual int getVerbosity() const
Get the message output types for this manager.
 
virtual void setFancyOStream(const Teuchos::RCP< Teuchos::FancyOStream > &fos)
Set the formatted output stream object for this manager.
 
virtual const Teuchos::RCP< Teuchos::FancyOStream > & getFancyOStream() const
Get the formatted output stream object for this manager.
 
OutputManager(int vb=Anasazi::Errors, const Teuchos::RCP< Teuchos::FancyOStream > &fos=Teuchos::getFancyOStream(Teuchos::rcpFromRef(std::cout)))
Default constructor.
 
virtual ~OutputManager()
Destructor.
 
virtual Teuchos::FancyOStream & stream(MsgType type)
Create a stream for outputting to.
 
virtual void setVerbosity(int vb)
Set the message output types for this manager.
 
virtual void print(MsgType type, const std::string output)
Send output to the output manager.
 
virtual bool isVerbosity(MsgType type) const
Find out whether we need to print out information for this message type.
 
Namespace Anasazi contains the classes, structs, enums and utilities used by the Anasazi package.
 
MsgType
Enumerated list of available message types recognized by the eigensolvers.