93 KRATOS_ERROR <<
"Calling base class Create. Please override this method in the corresonding Operation" << std::endl;
102 KRATOS_ERROR <<
"Calling base class Execute. Please override this method in the corresonding Operation" << std::endl;
110 KRATOS_ERROR <<
"Calling the base Operation class GetDefaultParameters. Please implement the GetDefaultParameters in your derived process class." << std::endl;
113 return default_parameters;
139 rOStream <<
"Operation";
173 rOStream << std::endl;
This class aims to manage different model parts across multi-physics simulations.
Definition: model.h:60
The base class for all operations in Kratos.
Definition: operation.h:43
virtual Operation::Pointer Create(Model &rModel, Parameters ThisParameters) const
This method creates an pointer of the process.
Definition: operation.h:89
Operation()=default
Default constructor.
Operation & operator=(Operation const &rOther)=delete
Assignment operator.
virtual const Parameters GetDefaultParameters() const
This method provides the defaults parameters to avoid conflicts between the different constructors.
Definition: operation.h:108
void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: operation.h:137
virtual ~Operation()
Destructor.
Definition: operation.h:59
virtual void Execute()
Execute method is used to execute the Operation algorithms.
Definition: operation.h:100
KRATOS_CLASS_POINTER_DEFINITION(Operation)
Pointer definition of Operation.
void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: operation.h:143
void operator()()
This operator is provided to call the process as a function and simply calls the Execute method.
Definition: operation.h:73
Operation(Operation const &rOther)
Copy constructor.
Definition: operation.h:63
std::string Info() const
Turn back information as a string.
Definition: operation.h:131
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
#define KRATOS_REGISTRY_ADD_PROTOTYPE(NAME, X, Y)
Macro to register class prototypes This macro creates a static bool in the class (which value is not ...
Definition: define_registry.h:43
#define KRATOS_ERROR
Definition: exception.h:161
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::istream & operator>>(std::istream &rIStream, LinearMasterSlaveConstraint &rThis)
input stream function
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432