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.
|
#include <output_controller.h>
Public Member Functions | |
Type Definitions | |
KRATOS_CLASS_POINTER_DEFINITION (OutputController) | |
Pointer definition of OutputController. More... | |
Life Cycle | |
OutputController (const Model &rModel, Parameters Settings) | |
Default constructor. More... | |
~OutputController () override=default | |
Destructor. More... | |
OutputController (OutputController const &rOther)=default | |
Copy constructor. More... | |
OutputController (OutputController &&rOther) noexcept=default | |
Move constructor. More... | |
Operators | |
OutputController & | operator= (OutputController const &rOther)=delete |
Assignment operator. More... | |
Operations | |
Controller::Pointer | Create (Model &rModel, Parameters Settings) const override |
This method creates an pointer of the controller. More... | |
int | Check () const override |
Checks that input conditions are correct. More... | |
bool | Evaluate () const override |
Using input data, returns bool. More... | |
void | Update () override |
Update the controller parameters. More... | |
std::variant< int, double > | GetCurrentControlValue () const |
Returns the current control value used to evalute. More... | |
std::variant< int, double > | GetInterval () const |
Get the interval used in the control. More... | |
std::variant< int, double > | GetNextPossibleEvaluateControlValue () const |
Get the next possible evaluation control value. More... | |
Parameters | GetDefaultParameters () const override |
This method provides the defaults parameters to avoid conflicts between the different constructors. More... | |
Input and output | |
std::string | Info () const override |
Turn back information as a string. More... | |
void | PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
void | PrintData (std::ostream &rOStream) const override |
Print object's data. More... | |
Public Member Functions inherited from Kratos::Controller | |
KRATOS_CLASS_POINTER_DEFINITION (Controller) | |
Pointer definition of Controller. More... | |
Controller () noexcept=default | |
Default constructor. More... | |
virtual | ~Controller ()=default |
Destructor. More... | |
Controller (Controller const &rOther)=default | |
Copy constructor. More... | |
Controller (Controller &&rOther) noexcept=default | |
Move constructor. More... | |
Controller & | operator= (Controller const &rOther)=delete |
Assignment operator. More... | |
Kratos::OutputController::OutputController | ( | const Model & | rModel, |
Parameters | Settings | ||
) |
Default constructor.
|
overridedefault |
Destructor.
|
default |
Copy constructor.
|
defaultnoexcept |
Move constructor.
|
overridevirtual |
Checks that input conditions are correct.
Reimplemented from Kratos::Controller.
|
overridevirtual |
This method creates an pointer of the controller.
We consider as input, a Model and a set of Parameters for the sake of generality
rModel | The model to be considered |
ThisParameters | The configuration parameters |
Implements Kratos::Controller.
|
overridevirtual |
Using input data, returns bool.
Implements Kratos::Controller.
Returns the current control value used to evalute.
|
overridevirtual |
This method provides the defaults parameters to avoid conflicts between the different constructors.
Reimplemented from Kratos::Controller.
Get the interval used in the control.
Get the next possible evaluation control value.
|
overridevirtual |
Turn back information as a string.
Reimplemented from Kratos::Controller.
Kratos::OutputController::KRATOS_CLASS_POINTER_DEFINITION | ( | OutputController | ) |
Pointer definition of OutputController.
|
delete |
Assignment operator.
|
overridevirtual |
Print object's data.
Reimplemented from Kratos::Controller.
|
overridevirtual |
Print information about this object.
Reimplemented from Kratos::Controller.
|
overridevirtual |
Update the controller parameters.
Reimplemented from Kratos::Controller.