25 std::string expected = label;
53 << label_.string() <<
" [absent] }" 60 UTIL_THROW(
"Error: not isIoProcessor and not hasIoCommunicator");
63 UTIL_THROW(
"Error: not isIoProcessor and no MPI");
Begin(const char *label, bool isRequired=true)
Constructor.
File containing preprocessor macros for error handling.
void bcast< bool >(MPI::Intracomm &comm, bool &data, int root)
Explicit specialization of bcast for bool data.
static bool isClear()
Is the input buffer clear?
virtual void resetParam()
Do-nothing implementation of virtual resetParam function.
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
std::string string() const
Return label string.
MPI::Intracomm & ioCommunicator() const
Get the MPI communicator by reference.
Utility classes for scientific computation.
static bool echo()
Get echo parameter.
void setString(std::string string)
Set the label string.
virtual void writeParam(std::ostream &out)
Write the opening line.
bool isIoProcessor() const
Can this processor do file I/O ?
static std::ostream & file()
Get log ostream by reference.
bool hasIoCommunicator() const
Does this object have an associated MPI communicator?
bool isRequired() const
Is this the beginning line for a required element?
This file contains templates for global functions send<T>, recv<T> and bcast<T>.
virtual void readParam(std::istream &in)
Read the opening line.
std::string indent() const
Return indent string for this object (string of spaces).