14 #if !defined(ASSIGN_SURFACE_TENSION2D_CONDITION_INCLUDED )
15 #define ASSIGN_SURFACE_TENSION2D_CONDITION_INCLUDED
32 #include "utilities/geometry_utilities.h"
37 #include "custom_conditions/Surface_Tension2D.h"
120 for(ModelPart::NodesContainerType::iterator
im = ThisModelPart.
NodesBegin() ;
im != ThisModelPart.
NodesEnd() ; ++
im)
122 if (
im->FastGetSolutionStepValue(IS_FREE_SURFACE) != 0.0 ||
im->FastGetSolutionStepValue(TRIPLE_POINT) != 0.0)
126 temp.push_back(*(
im.base()));
154 std::string
Info()
const override
156 return "AssignSurfaceTensionConditions";
162 rOStream <<
"AssignSurfaceTensionConditions";
280 rOStream << std::endl;
Short class definition.
Definition: assign_surface_tension_conditions.h:74
~AssignSurfaceTensionConditions() override
Destructor.
Definition: assign_surface_tension_conditions.h:93
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: assign_surface_tension_conditions.h:160
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: assign_surface_tension_conditions.h:166
AssignSurfaceTensionConditions()
Default constructor.
Definition: assign_surface_tension_conditions.h:88
std::string Info() const override
Turn back information as a string.
Definition: assign_surface_tension_conditions.h:154
KRATOS_CLASS_POINTER_DEFINITION(AssignSurfaceTensionConditions)
Pointer definition of PushStructureProcess.
void AssignSurfaceTensionConditions2D(ModelPart &ThisModelPart)
Definition: assign_surface_tension_conditions.h:112
static const TComponentType & Get(const std::string &rName)
Retrieves a component with the specified name.
Definition: kratos_components.h:114
PropertiesType::Pointer pGetProperties(IndexType PropertiesId)
Definition: mesh.h:394
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
ConditionsContainerType & Conditions(IndexType ThisIndex=0)
Definition: model_part.h:1381
NodeIterator NodesEnd(IndexType ThisIndex=0)
Definition: model_part.h:497
MeshType & GetMesh(IndexType ThisIndex=0)
Definition: model_part.h:1791
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
The base class for all processes in Kratos.
Definition: process.h:49
virtual Process::Pointer Create(Model &rModel, Parameters ThisParameters)
This method creates an pointer of the process.
Definition: process.h:89
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_WATCH(variable)
Definition: define.h:806
#define KRATOS_TRY
Definition: define.h:109
im
Definition: GenerateCN.py:100
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
float temp
Definition: rotating_cone.py:85