KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Here we define some common methods. More...
#include <factory.h>
Public Member Functions | |
Type Definitions | |
KRATOS_CLASS_POINTER_DEFINITION (FactoryBase) | |
Pointer definition of FactoryBase. More... | |
Life Cycle | |
FactoryBase () | |
virtual | ~FactoryBase () |
Operations | |
virtual bool | Has (const std::string &rClassName) const |
This method checks if the linear class is registered. More... | |
Input and output | |
virtual std::string | Info () const |
Turn back information as a string. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
Here we define some common methods.
Defines the base class factory methods
|
inlineexplicit |
Constructor.
|
inlinevirtual |
Destructor.
|
inlinevirtual |
This method checks if the linear class is registered.
rClassName | The nanme of the class |
Reimplemented in Kratos::Factory< TClass >.
|
inlinevirtual |
Turn back information as a string.
Reimplemented in Kratos::Factory< TClass >.
Kratos::FactoryBase::KRATOS_CLASS_POINTER_DEFINITION | ( | FactoryBase | ) |
Pointer definition of FactoryBase.
|
inlinevirtual |
Print object's data.
Reimplemented in Kratos::Factory< TClass >.
|
inlinevirtual |
Print information about this object.
Reimplemented in Kratos::Factory< TClass >.