9 #if !defined(KRATOS_SAVE_FLUID_ONLY_PROCESS_INCLUDED )
10 #define KRATOS_SAVE_FLUID_ONLY_PROCESS_INCLUDED
118 for(ModelPart::NodesContainerType::iterator in =
fluid_model_part.NodesBegin() ;
121 if (in->FastGetSolutionStepValue(IS_FLUID)!=0)
128 for(ModelPart::NodesContainerType::iterator in =
fluid_model_part.NodesBegin() ;
163 std::string
Info()
const override
165 return "SaveFluidOnlyProcess";
171 rOStream <<
"SaveFluidOnlyProcess";
291 rOStream << std::endl;
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
The base class for all processes in Kratos.
Definition: process.h:49
Short class definition.
Definition: save_fluid_only_process.h:66
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: save_fluid_only_process.h:175
~SaveFluidOnlyProcess() override
Destructor.
Definition: save_fluid_only_process.h:86
std::string Info() const override
Turn back information as a string.
Definition: save_fluid_only_process.h:163
KRATOS_CLASS_POINTER_DEFINITION(SaveFluidOnlyProcess)
Pointer definition of PushStructureProcess.
SaveFluidOnlyProcess()
Default constructor.
Definition: save_fluid_only_process.h:79
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: save_fluid_only_process.h:169
void SaveFluidOnly(ModelPart &fluid_model_part, ModelPart &fluid_only_model_part)
Definition: save_fluid_only_process.h:105
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
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
fluid_model_part
Definition: edgebased_PureConvection.py:18
fluid_only_model_part
Definition: script.py:28