22 #if !defined(KRATOS_ULF_APPLY_BC_PROCESS_INCLUDED )
23 #define KRATOS_ULF_APPLY_BC_PROCESS_INCLUDED
118 for(ModelPart::NodesContainerType::const_iterator in = mr_model_part.
NodesBegin(); in!=mr_model_part.
NodesEnd(); in++)
128 if( (in->GetValue(NEIGHBOUR_ELEMENTS)).size() == 0)
129 in->FastGetSolutionStepValue(IS_BOUNDARY) = 1.0;
137 i->FastGetSolutionStepValue(IS_FREE_SURFACE) = 0;
139 if(
i->FastGetSolutionStepValue(IS_BOUNDARY) != 0
141 i->FastGetSolutionStepValue(IS_STRUCTURE) == 0)
143 i->FastGetSolutionStepValue(IS_FREE_SURFACE) = 1;
167 virtual std::string
Info()
const override
169 return "Pfem2ApplyBCProcess";
173 virtual void PrintInfo(std::ostream& rOStream)
const override
175 rOStream <<
"Pfem2ApplyBCProcess";
179 virtual void PrintData(std::ostream& rOStream)
const override
293 rOStream << std::endl;
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
Short class definition.
Definition: ulf_apply_bc_process.h:77
Pfem2ApplyBCProcess(ModelPart &model_part)
Default constructor.
Definition: ulf_apply_bc_process.h:90
KRATOS_CLASS_POINTER_DEFINITION(Pfem2ApplyBCProcess)
Pointer definition of PushStructureProcess.
virtual std::string Info() const override
Turn back information as a string.
Definition: ulf_apply_bc_process.h:167
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: ulf_apply_bc_process.h:173
virtual void Execute() override
Execute method is used to execute the Process algorithms.
Definition: ulf_apply_bc_process.h:115
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: ulf_apply_bc_process.h:179
virtual ~Pfem2ApplyBCProcess()
Destructor.
Definition: ulf_apply_bc_process.h:96
void operator()()
Definition: ulf_apply_bc_process.h:105
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