10 #if !defined(KRATOS_SET_LAGRANGIAN_INLET_PROCESS_H_INCLUDED)
11 #define KRATOS_SET_LAGRANGIAN_INLET_PROCESS_H_INCLUDED
66 : mrModelPart(rModelPart)
68 KRATOS_INFO(
"SetLagrangianInletProcess") <<
" activated " << std::endl;
96 std::cout <<
" SET LAGRANGIAN INLET PROCESS ]; " << std::endl;
98 for (ModelPart::NodesContainerType::iterator i_node = mrModelPart.
NodesBegin(); i_node != mrModelPart.
NodesEnd(); i_node++)
102 i_node->Set(PFEMFlags::LAGRANGIAN_INLET);
121 std::string
Info()
const override
123 return "SetLagrangianInletProcess";
129 rOStream <<
"SetLagrangianInletProcess";
201 rOStream << std::endl;
Base class for all Conditions.
Definition: condition.h:59
Geometry base class.
Definition: geometry.h:71
Short class definition.
Definition: mesher_utilities.hpp:49
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
NodeIterator NodesEnd(IndexType ThisIndex=0)
Definition: model_part.h:497
This class defines the node.
Definition: node.h:65
The base class for all processes in Kratos.
Definition: process.h:49
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: process.h:210
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
Refine Mesh Elements Process 2D and 3D.
Definition: set_lagrangian_inlet_process.hpp:46
void operator()()
This operator is provided to call the process as a function and simply calls the Execute method.
Definition: set_lagrangian_inlet_process.hpp:81
ModelPart::NodeType NodeType
Definition: set_lagrangian_inlet_process.hpp:54
KRATOS_CLASS_POINTER_DEFINITION(SetLagrangianInletProcess)
Pointer definition of Process.
ModelPart::PropertiesType PropertiesType
Definition: set_lagrangian_inlet_process.hpp:56
SetLagrangianInletProcess(ModelPart &rModelPart, int EchoLevel)
Default constructor.
Definition: set_lagrangian_inlet_process.hpp:64
virtual ~SetLagrangianInletProcess()
Destructor.
Definition: set_lagrangian_inlet_process.hpp:74
ConditionType::GeometryType GeometryType
Definition: set_lagrangian_inlet_process.hpp:57
std::string Info() const override
Turn back information as a string.
Definition: set_lagrangian_inlet_process.hpp:121
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: set_lagrangian_inlet_process.hpp:127
ModelPart::ConditionType ConditionType
Definition: set_lagrangian_inlet_process.hpp:55
void Execute() override
Execute method is used to execute the Process algorithms.
Definition: set_lagrangian_inlet_process.hpp:91
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
#define KRATOS_INFO(label)
Definition: logger.h:250
static int EchoLevel
Definition: co_sim_EMPIRE_API.h:42
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