Object
-
class Object : public godzilla::LoggingInterface
The base class for objects that can be created by Factory.
See also
Subclassed by godzilla::AuxiliaryField, godzilla::BoundaryCondition, godzilla::Function, godzilla::InitialCondition, godzilla::MeshObject, godzilla::Output, godzilla::Postprocessor, godzilla::Problem, godzilla::RZSymmetry, godzilla::TimeSteppingAdaptor
Public Functions
-
explicit Object(const Parameters &pars)
Constructor for building the object via Factory.
-
const std::string &get_type() const
Get the type of this object.
- Returns:
the name of the type of this object
-
const std::string &get_name() const
Get the name of the object.
- Returns:
The name of the object
-
const mpi::Communicator &get_comm() const
Get the MPI comm this object works on.
-
int get_processor_id() const
Get processor ID (aka MPI rank) this object is running at.
-
virtual void create()
Called to construct the object.
Public Static Functions
-
static Parameters parameters()
Method for building Parameters for this class.
-
explicit Object(const Parameters &pars)