15 #ifndef KRATOS_TETRAHEDRAL_MESH_ORIENTATION_CHECK_H
16 #define KRATOS_TETRAHEDRAL_MESH_ORIENTATION_CHECK_H
93 const Flags options = COMPUTE_NODAL_NORMALS.
AsFalse() | COMPUTE_CONDITION_NORMALS.
AsFalse() | ASSIGN_NEIGHBOUR_ELEMENTS_TO_CONDITIONS.
AsFalse() | ALLOW_REPEATED_CONDITIONS.
AsFalse()
95 mrModelPart(rModelPart),
96 mThrowErrors(ThrowErrors),
104 const Flags options = COMPUTE_NODAL_NORMALS.
AsFalse() | COMPUTE_CONDITION_NORMALS.
AsFalse() | ASSIGN_NEIGHBOUR_ELEMENTS_TO_CONDITIONS.
AsFalse() | ALLOW_REPEATED_CONDITIONS.
AsFalse()
106 mrModelPart(rModelPart),
131 void Execute()
override;
135 void SwapNegativeElements();
152 std::string
Info()
const override
154 return "TetrahedralMeshOrientationCheck";
160 rOStream <<
"TetrahedralMeshOrientationCheck";
166 this->PrintInfo(rOStream);
188 const bool mThrowErrors;
230 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Flags AsFalse() const
Definition: flags.h:241
Geometry base class.
Definition: geometry.h:71
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class defines the node.
Definition: node.h:65
The base class for all processes in Kratos.
Definition: process.h:49
Check a triangular or tetrahedral mesh to ensure that local connectivities follow the expected conven...
Definition: tetrahedral_mesh_orientation_check.h:54
std::size_t IndexType
The definition of the index type.
Definition: tetrahedral_mesh_orientation_check.h:70
std::string Info() const override
Turn back information as a string.
Definition: tetrahedral_mesh_orientation_check.h:152
KRATOS_DEFINE_LOCAL_FLAG(ASSIGN_NEIGHBOUR_ELEMENTS_TO_CONDITIONS)
TetrahedralMeshOrientationCheck(ModelPart &rModelPart, bool ThrowErrors, const Flags options=COMPUTE_NODAL_NORMALS.AsFalse()|COMPUTE_CONDITION_NORMALS.AsFalse()|ASSIGN_NEIGHBOUR_ELEMENTS_TO_CONDITIONS.AsFalse()|ALLOW_REPEATED_CONDITIONS.AsFalse())
Constructor for TetrahedralMeshOrientationCheck Process.
Definition: tetrahedral_mesh_orientation_check.h:90
void operator()()
This operator is provided to call the process as a function and simply calls the Execute method.
Definition: tetrahedral_mesh_orientation_check.h:120
KRATOS_DEFINE_LOCAL_FLAG(ALLOW_REPEATED_CONDITIONS)
TetrahedralMeshOrientationCheck(ModelPart &rModelPart, const Flags options=COMPUTE_NODAL_NORMALS.AsFalse()|COMPUTE_CONDITION_NORMALS.AsFalse()|ASSIGN_NEIGHBOUR_ELEMENTS_TO_CONDITIONS.AsFalse()|ALLOW_REPEATED_CONDITIONS.AsFalse())
Definition: tetrahedral_mesh_orientation_check.h:102
KRATOS_DEFINE_LOCAL_FLAG(COMPUTE_NODAL_NORMALS)
~TetrahedralMeshOrientationCheck() override
Destructor.
Definition: tetrahedral_mesh_orientation_check.h:113
KRATOS_DEFINE_LOCAL_FLAG(MAKE_VOLUMES_POSITIVE)
Geometry< NodeType > GeometryType
Definition: tetrahedral_mesh_orientation_check.h:79
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: tetrahedral_mesh_orientation_check.h:164
KRATOS_CLASS_POINTER_DEFINITION(TetrahedralMeshOrientationCheck)
Pointer definition of Process.
std::size_t SizeType
The definition of the size type.
Definition: tetrahedral_mesh_orientation_check.h:73
Node NodeType
Definition of the node type.
Definition: tetrahedral_mesh_orientation_check.h:76
KRATOS_DEFINE_LOCAL_FLAG(COMPUTE_CONDITION_NORMALS)
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: tetrahedral_mesh_orientation_check.h:158
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Node NodeType
The definition of the node.
Definition: tetrahedral_mesh_orientation_check.h:34
Geometry< Node > GeometryType
The definition of the geometry.
Definition: mortar_classes.h:37
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