15 #if !defined(KRATOS_SAVE_LAGRANGIAN_SURFACE_PROCESS_P_INCLUDED )
16 #define KRATOS_SAVE_LAGRANGIAN_SURFACE_PROCESS_P_INCLUDED
111 surface_model_part.
Elements().clear();
113 surface_model_part.
Nodes().clear();
122 if (in->FastGetSolutionStepValue(IS_BOUNDARY)==1.0 && in->GetValue(NEIGHBOUR_CONDITIONS).size()!=0)
123 surface_model_part.
Nodes().push_back(*(in.base()));
133 std::vector<std::size_t> NodeIds(3);
135 for(
int i=0;
i<3;
i++) NodeIds[
i]= geom[
i].Id();
166 virtual std::string
Info()
const override
168 return "SaveLagrangianSurfaceProcess_p";
172 virtual void PrintInfo(std::ostream& rOStream)
const override
174 rOStream <<
"SaveLagrangianSurfaceProcess_p";
178 virtual void PrintData(std::ostream& rOStream)
const override
293 rOStream << std::endl;
Geometry base class.
Definition: geometry.h:71
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
ElementType::Pointer CreateNewElement(std::string ElementName, IndexType Id, std::vector< IndexType > ElementNodeIds, PropertiesType::Pointer pProperties, IndexType ThisIndex=0)
Creates new element with a node ids list.
ConditionsContainerType & Conditions(IndexType ThisIndex=0)
Definition: model_part.h:1381
ElementsContainerType & Elements(IndexType ThisIndex=0)
Definition: model_part.h:1189
NodesContainerType & Nodes(IndexType ThisIndex=0)
Definition: model_part.h:507
The base class for all processes in Kratos.
Definition: process.h:49
Short class definition.
Definition: save_lagrangian_surface_process_p.h:70
SaveLagrangianSurfaceProcess_p()
Default constructor.
Definition: save_lagrangian_surface_process_p.h:83
virtual void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: save_lagrangian_surface_process_p.h:178
void SaveSurfaceConditions_p(ModelPart &lagrangian_model_part, ModelPart &surface_model_part)
Definition: save_lagrangian_surface_process_p.h:108
virtual std::string Info() const override
Turn back information as a string.
Definition: save_lagrangian_surface_process_p.h:166
virtual ~SaveLagrangianSurfaceProcess_p()
Destructor.
Definition: save_lagrangian_surface_process_p.h:88
virtual void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: save_lagrangian_surface_process_p.h:172
KRATOS_CLASS_POINTER_DEFINITION(SaveLagrangianSurfaceProcess_p)
Pointer definition of PushStructureProcess.
#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
std::ostream & operator<<(std::ostream &rOStream, const LinearMasterSlaveConstraint &rThis)
output stream function
Definition: linear_master_slave_constraint.h:432
lagrangian_model_part
Definition: lagrangian_droplet_test.py:45
integer i
Definition: TensorModule.f:17