18 #include <pybind11/pybind11.h>
204 virtual std::string
Info()
const
206 std::stringstream buffer;
207 buffer <<
"ProcessFactoryUtility. Number of processes:" << mProcesses.size();
215 rOStream <<
"ProcessFactoryUtility. Number of processes:" << mProcesses.size();
222 rOStream <<
"ProcessFactoryUtility. Number of processes:" << mProcesses.size();
232 std::vector<ObjectType> mProcesses;
253 virtual void save(
Serializer& rSerializer)
const
294 rOStream <<
" : " << std::endl;
This is a experimental process factory utility.
Definition: process_factory_utility.h:54
void ExecuteInitializeSolutionStep()
It executes the ExecuteInitializeSolutionStep() from the list of processes.
Definition: process_factory_utility.cpp:85
pybind11::object ObjectType
The object type in python.
Definition: process_factory_utility.h:64
KRATOS_CLASS_POINTER_DEFINITION(ProcessFactoryUtility)
Counted pointer of ProcessFactoryUtility.
void Clear()
It executes the Clear() from the list of processes.
Definition: process_factory_utility.cpp:141
void ExecuteFinalizeSolutionStep()
It executes the ExecuteFinalizeSolutionStep() from the list of processes.
Definition: process_factory_utility.cpp:93
void ExecuteMethod(const std::string &rNameMethod)
It executes the method considered in the input.
Definition: process_factory_utility.cpp:60
void PrintOutput()
It executes the PrintOutput() from the list of processes.
Definition: process_factory_utility.cpp:133
pybind11::list ListType
The list [] of python.
Definition: process_factory_utility.h:67
void ExecuteInitialize()
It executes the ExecuteInitialize() from the list of processes.
Definition: process_factory_utility.cpp:69
void ExecuteBeforeOutputStep()
It executes the ExecuteBeforeOutputStep() from the list of processes.
Definition: process_factory_utility.cpp:101
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: process_factory_utility.h:213
void ExecuteBeforeSolutionLoop()
It executes the ExecuteBeforeSolutionLoop() from the list of processes.
Definition: process_factory_utility.cpp:77
virtual std::string Info() const
Turn back information as a string.
Definition: process_factory_utility.h:204
void AddProcesses(ListType &ProcessesList)
It add new processes to the existing process list.
Definition: process_factory_utility.cpp:50
void IsOutputStep()
It executes the IsOutputStep() from the list of processes.
Definition: process_factory_utility.cpp:125
void ExecuteFinalize()
It executes the ExecuteFinalize() from the list of processes.
Definition: process_factory_utility.cpp:117
ProcessFactoryUtility & operator=(ProcessFactoryUtility const &rOther)=default
Assignment operator.
virtual ~ProcessFactoryUtility()=default
Destructor.
ProcessFactoryUtility()=default
Default constructors.
void ExecuteAfterOutputStep()
It executes the ExecuteAfterOutputStep() from the list of processes.
Definition: process_factory_utility.cpp:109
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: process_factory_utility.h:220
void AddProcess(ObjectType &rProcess)
It add new process to the existing process list.
Definition: process_factory_utility.cpp:42
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
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
def load(f)
Definition: ode_solve.py:307