Go to the documentation of this file.
19 #ifndef LIBMESH_MESH_TRIANGLE_WRAPPER_H
20 #define LIBMESH_MESH_TRIANGLE_WRAPPER_H
22 #include "libmesh/libmesh_config.h"
24 #ifdef LIBMESH_HAVE_TRIANGLE
27 #include "libmesh/libmesh_common.h"
29 #ifdef LIBMESH_FORWARD_DECLARE_ENUMS
35 #include "libmesh/enum_elem_type.h"
58 namespace TriangleWrapper
76 void init(triangulateio & t);
99 const triangulateio * voronoi =
nullptr);
104 #endif // LIBMESH_HAVE_TRIANGLE
106 #endif // LIBMESH_MESH_TRIANGLE_WRAPPER_H
The libMesh namespace provides an interface to certain functionality in the library.
void init(triangulateio &t)
Initializes the fields of t to nullptr/0 as necessary.
void copy_tri_to_mesh(const triangulateio &triangle_data_input, UnstructuredMesh &mesh_output, const ElemType type, const triangulateio *voronoi=nullptr)
Copies triangulation data computed by triangle from a triangulateio object to a LibMesh mesh.
void destroy(triangulateio &t, IO_Type)
Frees any memory which has been dynamically allocated by Triangle.
The UnstructuredMesh class is derived from the MeshBase class.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void ErrorVector unsigned int
ElemType
Defines an enum for geometric element types.