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.
|
The base class for all operations in Kratos. More...
#include <operation.h>
Public Member Functions | |
Type Definitions | |
KRATOS_CLASS_POINTER_DEFINITION (Operation) | |
Pointer definition of Operation. More... | |
Life Cycle | |
Operation ()=default | |
Default constructor. More... | |
virtual | ~Operation () |
Destructor. More... | |
Operation (Operation const &rOther) | |
Copy constructor. More... | |
Operators | |
Operation & | operator= (Operation const &rOther)=delete |
Assignment operator. More... | |
void | operator() () |
This operator is provided to call the process as a function and simply calls the Execute method. More... | |
Operations | |
virtual Operation::Pointer | Create (Model &rModel, Parameters ThisParameters) const |
This method creates an pointer of the process. More... | |
virtual void | Execute () |
Execute method is used to execute the Operation algorithms. More... | |
virtual const Parameters | GetDefaultParameters () const |
This method provides the defaults parameters to avoid conflicts between the different constructors. More... | |
Input and output | |
std::string | Info () const |
Turn back information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const |
Print information about this object. More... | |
void | PrintData (std::ostream &rOStream) const |
Print object's data. More... | |
The base class for all operations in Kratos.
The operation is the base class for all operations and defines the interface for them. Execute method is used to execute all the Operation algorithms. Operation parameters must be passed at construction time.
|
explicitdefault |
Default constructor.
|
inlinevirtual |
Destructor.
|
inline |
Copy constructor.
|
inlinevirtual |
This method creates an pointer of the process.
We consider as input a Mmodel and a set of Parameters for the sake of generality
rModel | The model to be consider |
ThisParameters | The configuration parameters |
Reimplemented in Kratos::DeactivateModelPartOperation, Kratos::ActivateModelPartOperation, and Kratos::PotentialToCompressibleNavierStokesOperation.
|
inlinevirtual |
Execute method is used to execute the Operation algorithms.
Reimplemented in Kratos::DeactivateModelPartOperation, Kratos::ActivateModelPartOperation, and Kratos::PotentialToCompressibleNavierStokesOperation.
|
inlinevirtual |
This method provides the defaults parameters to avoid conflicts between the different constructors.
Reimplemented in Kratos::PotentialToCompressibleNavierStokesOperation.
|
inline |
Turn back information as a string.
|
inline |
This operator is provided to call the process as a function and simply calls the Execute method.
|
inline |
Print object's data.
|
inline |
Print information about this object.