![]() |
Vulpes
0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
|
Functions | |
| template<typename FloatType, typename IndexType> | |
| Mesh3D< FloatType, IndexType > | readVTU (const std::string &filename, bool check_vtxs_unique=false, bool add_tags=true) |
| Reads a 3D mesh from a VTU file. | |
| template<typename FloatType, typename IndexType> | |
| Mesh3D< FloatType, IndexType > | rect_cuboid (const Point< FloatType, 3 > &corner_a, const Point< FloatType, 3 > &corner_b, const Point< IndexType, 3 > &n_divisions, bool tetra_elements=false) |
| Creates a rectangular cuboid mesh. | |
| template Mesh3D< double, int32_t > | readVTU< double, int32_t > (const std::string &, bool, bool) |
| template Mesh3D< double, uint32_t > | readVTU< double, uint32_t > (const std::string &, bool, bool) |
| template Mesh3D< double, int64_t > | readVTU< double, int64_t > (const std::string &, bool, bool) |
| template Mesh3D< double, uint64_t > | readVTU< double, uint64_t > (const std::string &, bool, bool) |
| template Mesh3D< double, int32_t > | rect_cuboid< double, int32_t > (const Point< double, 3 > &, const Point< double, 3 > &, const Point< int32_t, 3 > &, bool) |
| template Mesh3D< double, uint32_t > | rect_cuboid< double, uint32_t > (const Point< double, 3 > &, const Point< double, 3 > &, const Point< uint32_t, 3 > &, bool) |
| template Mesh3D< double, int64_t > | rect_cuboid< double, int64_t > (const Point< double, 3 > &, const Point< double, 3 > &, const Point< int64_t, 3 > &, bool) |
| template Mesh3D< double, uint64_t > | rect_cuboid< double, uint64_t > (const Point< double, 3 > &, const Point< double, 3 > &, const Point< uint64_t, 3 > &, bool) |
| Mesh3D< FloatType, IndexType > vulpes::geometry::mesh3d::readVTU | ( | const std::string & | filename, |
| bool | check_vtxs_unique = false, | ||
| bool | add_tags = true ) |
Reads a 3D mesh from a VTU file.
This function reads an unstructured grid from a VTU file (a format from the VTK library) and creates a Mesh3D object from it. It handles different cell types like polyhedrons and tetrahedrons and can also read associated cell tags.
| FloatType | The floating-point type. |
| IndexType | The integer type. |
| filename | The path to the VTU file. |
| check_vtxs_unique | A boolean flag (not used in the current implementation). |
| add_tags | A boolean flag to indicate if cell tags should be read. |
| template Mesh3D< double, int32_t > vulpes::geometry::mesh3d::readVTU< double, int32_t > | ( | const std::string & | , |
| bool | , | ||
| bool | ) |
| template Mesh3D< double, int64_t > vulpes::geometry::mesh3d::readVTU< double, int64_t > | ( | const std::string & | , |
| bool | , | ||
| bool | ) |
| template Mesh3D< double, uint32_t > vulpes::geometry::mesh3d::readVTU< double, uint32_t > | ( | const std::string & | , |
| bool | , | ||
| bool | ) |
| template Mesh3D< double, uint64_t > vulpes::geometry::mesh3d::readVTU< double, uint64_t > | ( | const std::string & | , |
| bool | , | ||
| bool | ) |
| Mesh3D< FloatType, IndexType > vulpes::geometry::mesh3d::rect_cuboid | ( | const Point< FloatType, 3 > & | corner_a, |
| const Point< FloatType, 3 > & | corner_b, | ||
| const Point< IndexType, 3 > & | n_divisions, | ||
| bool | tetra_elements = false ) |
Creates a rectangular cuboid mesh.
This function generates a structured mesh of a rectangular cuboid (a box) defined by two opposite corners. The mesh can be composed of either hexahedral (cube) elements or tetrahedral elements.
| FloatType | The floating-point type. |
| IndexType | The integer type. |
| corner_a | The coordinates of the first corner of the cuboid. |
| corner_b | The coordinates of the opposite corner of the cuboid. |
| n_divisions | The number of divisions along each axis (x, y, z). |
| tetra_elements | A boolean flag to determine if the elements should be hexahedrons (false) or if each hexaedron should be cut in six tetrahedrons (true). |
| template Mesh3D< double, int32_t > vulpes::geometry::mesh3d::rect_cuboid< double, int32_t > | ( | const Point< double, 3 > & | , |
| const Point< double, 3 > & | , | ||
| const Point< int32_t, 3 > & | , | ||
| bool | ) |
| template Mesh3D< double, int64_t > vulpes::geometry::mesh3d::rect_cuboid< double, int64_t > | ( | const Point< double, 3 > & | , |
| const Point< double, 3 > & | , | ||
| const Point< int64_t, 3 > & | , | ||
| bool | ) |
| template Mesh3D< double, uint32_t > vulpes::geometry::mesh3d::rect_cuboid< double, uint32_t > | ( | const Point< double, 3 > & | , |
| const Point< double, 3 > & | , | ||
| const Point< uint32_t, 3 > & | , | ||
| bool | ) |
| template Mesh3D< double, uint64_t > vulpes::geometry::mesh3d::rect_cuboid< double, uint64_t > | ( | const Point< double, 3 > & | , |
| const Point< double, 3 > & | , | ||
| const Point< uint64_t, 3 > & | , | ||
| bool | ) |