10 #ifndef BELOS_OUTPUT_MANAGER_HPP
11 #define BELOS_OUTPUT_MANAGER_HPP
41 template <
class ScalarType>
122 template<
class ScalarType>
131 MPI_Initialized(&mpiStarted);
132 if (mpiStarted) MPI_Comm_rank(Belos::get_global_comm(), &MyPID);
140 template<
class ScalarType>
142 if ( (type & vb_) && iPrint_ ) {
Collection of types and exceptions used within the Belos solvers.
Belos's basic output manager for sending information of select verbosity levels to the appropriate ou...
void setVerbosity(int vb)
Set the verbosity level for this manager.
MsgType
Available message types recognized by the linear solvers.
std::ostream & stream(MsgType type)
Get an output stream for outputting the input message type.
OutputManager(int vb=Belos::Errors, const Teuchos::RCP< std::ostream > &os=Teuchos::rcp(&std::cout, false))
Basic constructor.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
bool isVerbosity(MsgType type) const
Find out whether we need to print out information for this message type.
Teuchos::RCP< std::ostream > myOS_
void print(MsgType type, const std::string output)
@ name Print methods
OutputManager< ScalarType > & operator=(const OutputManager< ScalarType > &OM)
Assignment operator.
Belos header file which uses auto-configuration information to include necessary C++ headers...
virtual ~OutputManager()
Destructor.
Teuchos::RCP< std::ostream > getOStream()
Get the output stream for this manager.
Teuchos::oblackholestream myBHS_
void setOStream(const Teuchos::RCP< std::ostream > &os)
Set the output stream for this manager.