9 #if !defined(KRATOS_SAVE_STRUCTURE_CONDITIONS_PROCESS_INCLUDED )
10 #define KRATOS_SAVE_STRUCTURE_CONDITIONS_PROCESS_INCLUDED
109 for(ModelPart::ConditionsContainerType::iterator ic =
fluid_model_part.ConditionsBegin() ;
114 unsigned int n_struct=0;
116 for (
unsigned int i=0;
i<ic->GetGeometry().size();
i++)
118 n_struct +=
int( ic->GetGeometry()[
i].FastGetSolutionStepValue(IS_STRUCTURE) );
123 if(n_struct==ic->GetGeometry().size())
155 std::string
Info()
const override
157 return "SaveStructureConditionsProcess";
163 rOStream <<
"SaveStructureConditionsProcess";
282 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_conditions_process.h:66
SaveStructureConditionsProcess()
Default constructor.
Definition: save_structure_conditions_process.h:79
std::string Info() const override
Turn back information as a string.
Definition: save_structure_conditions_process.h:155
KRATOS_CLASS_POINTER_DEFINITION(SaveStructureConditionsProcess)
Pointer definition of PushStructureProcess.
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: save_structure_conditions_process.h:167
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: save_structure_conditions_process.h:161
void SaveStructureConditions(ModelPart &fluid_model_part, ModelPart &structure_model_part)
Definition: save_structure_conditions_process.h:103
~SaveStructureConditionsProcess() override
Destructor.
Definition: save_structure_conditions_process.h:84
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_WATCH(variable)
Definition: define.h:806
#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
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