16 #include "hit/parse.h" 19 const std::string & name,
22 : _app(app), _type(type), _name(
name), _params(params)
29 return type() + std::string(
" \"") +
name() + std::string(
"\"");
45 std::stringstream oss;
48 oss << node->fileLocation() <<
":\n";
49 oss <<
"The following " << error_type <<
" occurred in the ";
54 oss <<
" '" <<
name() <<
"' of type " <<
type() <<
".\n\n";
std::string name(const ElemQuality q)
bool isUltimateMaster() const
Whether or not this app is the ultimate master app.
Base class for MOOSE-based applications.
virtual const std::string & name() const
Get the name of the class.
std::string errorPrefix(const std::string &error_type) const
const InputParameters & _params
The object's parameteres.
const std::string & type() const
Get the type of this class.
std::string typeAndName() const
Get the class's combined type and name; useful in error handling.
MooseApp & _app
The MOOSE application this is associated with.
void mooseErrorRaw(std::string msg, const std::string prefix="")
MooseBase(const std::string &type, const std::string &name, MooseApp &app, const InputParameters ¶ms)
void callMooseError(std::string msg, const bool with_prefix) const
Calls moose error with the message msg.
void mooseConsole()
Send current output buffer to Console output objects.
OutputWarehouse & getOutputWarehouse()
Get the OutputWarehouse objects.