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.
Public Member Functions | List of all members
Kratos::Python::ControllerTrampoline Class Reference
Inheritance diagram for Kratos::Python::ControllerTrampoline:
Collaboration diagram for Kratos::Python::ControllerTrampoline:

Public Member Functions

bool Evaluate () const override
 Using input data, returns bool. More...
 
Controller::Pointer Create (Model &rModel, Parameters ThisParameters) const override
 This method creates an pointer of the controller. More...
 
 Controller () noexcept=default
 Default constructor. More...
 
 Controller (Controller const &rOther)=default
 Copy constructor. More...
 
 Controller (Controller &&rOther) noexcept=default
 Move constructor. 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...
 
Controlleroperator= (Controller const &rOther)=delete
 Assignment operator. More...
 
virtual int Check () const
 Checks that input conditions are correct. More...
 
virtual void Update ()
 Update the controller parameters. More...
 
virtual Parameters GetDefaultParameters () const
 This method provides the defaults parameters to avoid conflicts between the different constructors. More...
 
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...
 

Member Function Documentation

◆ Controller() [1/3]

Kratos::Controller::Controller
defaultnoexcept

Default constructor.

◆ Controller() [2/3]

Kratos::Controller::Controller
defaultnoexcept

Move constructor.

◆ Controller() [3/3]

Kratos::Controller::Controller
default

Copy constructor.

◆ Create()

Controller::Pointer Kratos::Python::ControllerTrampoline::Create ( Model rModel,
Parameters  ThisParameters 
) const
inlineoverridevirtual

This method creates an pointer of the controller.

We consider as input, a Model and a set of Parameters for the sake of generality

Warning
Must be overrided in controller implementation
Parameters
rModelThe model to be considered
ThisParametersThe configuration parameters

Implements Kratos::Controller.

◆ Evaluate()

bool Kratos::Python::ControllerTrampoline::Evaluate ( ) const
inlineoverridevirtual

Using input data, returns bool.

Implements Kratos::Controller.


The documentation for this class was generated from the following file: