9 #if !defined(KRATOS_SAVE_STRUCTURE_MODEL_PART_PROCESS_INCLUDED )
10 #define KRATOS_SAVE_STRUCTURE_MODEL_PART_PROCESS_INCLUDED
109 for(ModelPart::ElementsContainerType::iterator
im =
fluid_model_part.ElementsBegin() ;
114 unsigned int n_struct=0;
116 for (
unsigned int i=0;
i<
im->GetGeometry().size();
i++)
118 n_struct +=
int(
im->GetGeometry()[
i].FastGetSolutionStepValue(IS_STRUCTURE) );
123 if(n_struct==
im->GetGeometry().size())
151 std::string
Info()
const override
153 return "SaveStructureModelPartProcess";
159 rOStream <<
"SaveStructureModelPartProcess";
278 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_structure_model_part_process.h:66
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: save_structure_model_part_process.h:163
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: save_structure_model_part_process.h:157
KRATOS_CLASS_POINTER_DEFINITION(SaveStructureModelPartProcess)
Pointer definition of PushStructureProcess.
std::string Info() const override
Turn back information as a string.
Definition: save_structure_model_part_process.h:151
SaveStructureModelPartProcess()
Default constructor.
Definition: save_structure_model_part_process.h:79
~SaveStructureModelPartProcess() override
Destructor.
Definition: save_structure_model_part_process.h:84
void SaveStructure(ModelPart &fluid_model_part, ModelPart &structure_model_part)
Definition: save_structure_model_part_process.h:103
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_WATCH(variable)
Definition: define.h:806
#define KRATOS_TRY
Definition: define.h:109
im
Definition: GenerateCN.py:100
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
REACTION_CHECK_STIFFNESS_FACTOR int
Definition: contact_structural_mechanics_application_variables.h:75
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
structure_model_part
Definition: script.py:23
integer i
Definition: TensorModule.f:17