10 #if !defined(KRATOS_TRIANGULAR_MESH_2D_MESHER_H_INCLUDED )
11 #define KRATOS_TRIANGULAR_MESH_2D_MESHER_H_INCLUDED
49 void triangulate(
char *,
struct triangulateio *,
struct triangulateio *,
struct triangulateio *);
81 enum TriangleErrors {INPUT_MEMORY_ERROR=1, INTERNAL_ERROR=2, INVALID_GEOMETRY_ERROR=3};
134 std::string
Info()
const override
174 void Generate(
ModelPart& rModelPart, MeshingParametersType& rMeshingVariables)
override;
177 int GenerateTessellation(MeshingParametersType& rMeshingVariables,
struct triangulateio& in,
struct triangulateio&
out);
219 void BuildInput (
ModelPart &rModelPart, MeshingParametersType & rMeshingVariables,
struct triangulateio &in);
234 virtual void SetFaces (
ModelPart &rModelPart, MeshingParametersType & rMeshingVariables,
struct triangulateio &in );
238 void WriteTriangles (
struct triangulateio& tr );
240 void WritePoints (
struct triangulateio& tr );
244 void ClearTrianglesList (
struct triangulateio& tr );
246 void DeleteTrianglesList (
struct triangulateio& tr );
248 void DeletePointsList (
struct triangulateio& tr );
288 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: triangular_mesh_2D_mesher.hpp:78
KRATOS_CLASS_POINTER_DEFINITION(TriangularMesh2DMesher)
Pointer definition of TriGenCDT.
TriangularMesh2DMesher(TriangularMesh2DMesher const &rOther)
Copy constructor.
Definition: triangular_mesh_2D_mesher.hpp:103
MesherUtilities::MeshingParameters MeshingParametersType
Definition: triangular_mesh_2D_mesher.hpp:92
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: triangular_mesh_2D_mesher.hpp:140
TriangleErrors
Definition: triangular_mesh_2D_mesher.hpp:81
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: triangular_mesh_2D_mesher.hpp:143
TriangularMesh2DMesher()
Default constructor.
Definition: triangular_mesh_2D_mesher.hpp:100
virtual ~TriangularMesh2DMesher()
Destructor.
Definition: triangular_mesh_2D_mesher.hpp:106
std::string Info() const override
Turn back information as a string.
Definition: triangular_mesh_2D_mesher.hpp:134
MesherUtilities::RefiningParameters RefineParametersType
Definition: triangular_mesh_2D_mesher.hpp:93
MesherUtilities::MeshingInfoParameters InfoParametersType
Definition: triangular_mesh_2D_mesher.hpp:91
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
void triangulate(char *, struct triangulateio *, struct triangulateio *, struct triangulateio *)
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