10 #if !defined (KRATOS_TETRAHEDRAL_MESH_3D_MESHER_H_INCLUDED)
11 #define KRATOS_TETRAHEDRAL_MESH_3D_MESHER_H_INCLUDED
18 #if !defined(KRATOS_TETGEN_EXTERNAL_H_INCLUDED)
19 #define KRATOS_TETGEN_EXTERNAL_H_INCLUDED
58 enum TetgenErrors {INPUT_MEMORY_ERROR=1, INTERNAL_ERROR=2, INVALID_GEOMETRY_ERROR=3};
111 std::string
Info()
const override
150 void Generate (
ModelPart& rModelPart, MeshingParametersType& rMeshingVariables)
override;
153 int GenerateTessellation(MeshingParametersType& rMeshingVariables, tetgenio& in, tetgenio&
out);
196 MeshingParametersType & rMeshingVariables,
210 virtual void SetFaces(
ModelPart &rModelPart, MeshingParametersType & rMeshingVariables, tetgenio &in );
213 void CheckInOutPoints ( tetgenio& in, tetgenio&
out );
216 void WriteTetrahedra ( tetgenio& tr );
218 void WritePoints ( tetgenio& tr );
221 void ClearTetgenIO ( tetgenio& tr );
265 rOStream << std::endl;
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Short class definition.
Definition: mesher.hpp:60
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
Short class definition.
Definition: tetrahedral_mesh_3D_mesher.hpp:55
MesherUtilities::MeshingInfoParameters InfoParametersType
Definition: tetrahedral_mesh_3D_mesher.hpp:68
virtual ~TetrahedralMesh3DMesher()
Destructor.
Definition: tetrahedral_mesh_3D_mesher.hpp:83
MesherUtilities::RefiningParameters RefineParametersType
Definition: tetrahedral_mesh_3D_mesher.hpp:70
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: tetrahedral_mesh_3D_mesher.hpp:120
TetrahedralMesh3DMesher(TetrahedralMesh3DMesher const &rOther)
Copy constructor.
Definition: tetrahedral_mesh_3D_mesher.hpp:80
MesherUtilities::MeshingParameters MeshingParametersType
Definition: tetrahedral_mesh_3D_mesher.hpp:69
TetrahedralMesh3DMesher()
Default constructor.
Definition: tetrahedral_mesh_3D_mesher.hpp:77
std::string Info() const override
Turn back information as a string.
Definition: tetrahedral_mesh_3D_mesher.hpp:111
TetgenErrors
Definition: tetrahedral_mesh_3D_mesher.hpp:58
KRATOS_CLASS_POINTER_DEFINITION(TetrahedralMesh3DMesher)
Pointer definition of TriGenCDT.
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: tetrahedral_mesh_3D_mesher.hpp:117
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
out
Definition: isotropic_damage_automatic_differentiation.py:200
Definition: mesher_utilities.hpp:149
Definition: mesher_utilities.hpp:269
Definition: mesher_utilities.hpp:631
Definition: mesher_utilities.hpp:479