51 #if !defined(KRATOS_MARK_FS_PROCESS_INCLUDED )
52 #define KRATOS_MARK_FS_PROCESS_INCLUDED
147 for(ModelPart::NodesContainerType::const_iterator in = mr_model_part.
NodesBegin(); in!=mr_model_part.
NodesEnd(); in++)
157 if( (in->GetValue(NEIGHBOUR_ELEMENTS)).size() == 0)
158 in->FastGetSolutionStepValue(IS_BOUNDARY) = 1.0;
166 i->FastGetSolutionStepValue(IS_FREE_SURFACE) = 0;
168 if(
i->FastGetSolutionStepValue(IS_BOUNDARY) != 0
170 i->FastGetSolutionStepValue(IS_STRUCTURE) == 0)
172 i->FastGetSolutionStepValue(IS_FREE_SURFACE) = 1;
196 std::string
Info()
const override
198 return "MarkFreeSurfaceProcess";
204 rOStream <<
"MarkFreeSurfaceProcess";
322 rOStream << std::endl;
Short class definition.
Definition: mark_free_surface_process.h:106
~MarkFreeSurfaceProcess() override
Destructor.
Definition: mark_free_surface_process.h:125
MarkFreeSurfaceProcess(ModelPart &model_part)
Default constructor.
Definition: mark_free_surface_process.h:119
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: mark_free_surface_process.h:208
void operator()()
Definition: mark_free_surface_process.h:134
KRATOS_CLASS_POINTER_DEFINITION(MarkFreeSurfaceProcess)
Pointer definition of PushStructureProcess.
void Execute() override
Execute method is used to execute the Process algorithms.
Definition: mark_free_surface_process.h:144
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: mark_free_surface_process.h:202
std::string Info() const override
Turn back information as a string.
Definition: mark_free_surface_process.h:196
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
NodeIterator NodesBegin(IndexType ThisIndex=0)
Definition: model_part.h:487
MeshType::NodeIterator NodeIterator
Definition: model_part.h:134
NodeIterator NodesEnd(IndexType ThisIndex=0)
Definition: model_part.h:497
The base class for all processes in Kratos.
Definition: process.h:49
#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
model_part
Definition: face_heat.py:14
integer i
Definition: TensorModule.f:17