![]() |
Vulpes
0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
|
VulPoly meshing options and algorithm parameters. More...
Classes | |
| struct | VulPolyParams |
| Parameters controlling VulPoly relaxation and mesh cleanup. More... | |
Typedefs | |
| template<typename FloatType, typename IndexType, IndexType Dim, typename = std::enable_if_t<(Dim == 2) || (Dim == 3)>> | |
| using | Mesh |
| Select the concrete mesh type for a supported spatial dimension. | |
Enumerations | |
| enum | RandomEngine : std::uint8_t { Pseudo , AdditiveRecurrence } |
| Available random or low-discrepancy seed generation strategies. More... | |
Functions | |
| template<typename FloatType, typename IndexType, IndexType Dim, typename D> | |
| std::pair< Mesh< FloatType, IndexType, Dim >, std::vector< Point< FloatType, Dim > > > | mesh (const DistanceExpression< FloatType, Dim, D > &distanceFunction, size_t n_elems, const std::vector< Point< FloatType, Dim > > &fixed_pts={}, const VulPolyParams< FloatType > ¶ms={}, size_t seed=0) |
| Generate a VulPoly mesh from a requested number of seeds. | |
| template<typename FloatType, typename IndexType, IndexType Dim, typename D> | |
| Mesh< FloatType, IndexType, Dim > | mesh (std::vector< Point< FloatType, Dim > > ¢er_pts, const DistanceExpression< FloatType, Dim, D > &distanceFunction, const std::vector< Point< FloatType, Dim > > &fixed_pts={}, const VulPolyParams< FloatType > ¶ms={}) |
| Generate a VulPoly mesh from caller-supplied seed points. | |
| template<typename FloatType, typename IndexType> | |
| auto | buildHexagonTessellation (const Point< FloatType, 2 > &corner_a, const Point< FloatType, 2 > &corner_b, const Point< IndexType, 2 > &n_divisions) |
| Build a 2D hexagonal seed tessellation and mesh its rectangle. | |
| template<typename FloatType, typename IndexType> | |
| auto | buildOctahedronTessellation (const Point< FloatType, 3 > &corner_a, const Point< FloatType, 3 > &corner_b, const Point< IndexType, 3 > &n_divisions) |
| Build a 3D hexahedral-domain mesh from an octahedral seed pattern. | |
VulPoly meshing options and algorithm parameters.
VulPoly mesh generation API.
VulPoly adapts the PolyMesher approach; see the file reference.
| using vulpes::geometry::vulpoly::Mesh |
Select the concrete mesh type for a supported spatial dimension.
| enum vulpes::geometry::vulpoly::RandomEngine : std::uint8_t |
| auto vulpes::geometry::vulpoly::buildHexagonTessellation | ( | const Point< FloatType, 2 > & | corner_a, |
| const Point< FloatType, 2 > & | corner_b, | ||
| const Point< IndexType, 2 > & | n_divisions ) |
Build a 2D hexagonal seed tessellation and mesh its rectangle.
| FloatType | Coordinate scalar type. |
| IndexType | Division-count integer type. |
| corner_a | First rectangle corner. |
| corner_b | Opposite rectangle corner. |
| n_divisions | Requested divisions along the two coordinate axes. |
| auto vulpes::geometry::vulpoly::buildOctahedronTessellation | ( | const Point< FloatType, 3 > & | corner_a, |
| const Point< FloatType, 3 > & | corner_b, | ||
| const Point< IndexType, 3 > & | n_divisions ) |
Build a 3D hexahedral-domain mesh from an octahedral seed pattern.
| FloatType | Coordinate scalar type. |
| IndexType | Division-count integer type. |
| corner_a | First box corner. |
| corner_b | Opposite box corner. |
| n_divisions | Requested divisions along the three coordinate axes. |
| std::pair< Mesh< FloatType, IndexType, Dim >, std::vector< Point< FloatType, Dim > > > vulpes::geometry::vulpoly::mesh | ( | const DistanceExpression< FloatType, Dim, D > & | distanceFunction, |
| size_t | n_elems, | ||
| const std::vector< Point< FloatType, Dim > > & | fixed_pts = {}, | ||
| const VulPolyParams< FloatType > & | params = {}, | ||
| size_t | seed = 0 ) |
Generate a VulPoly mesh from a requested number of seeds.
| FloatType | Coordinate scalar type. |
| IndexType | Mesh index type. |
| Dim | Spatial dimension; currently 2 or 3. |
| D | Distance-expression implementation type. |
| distanceFunction | Signed-distance expression describing the domain. |
| n_elems | Number of in-domain seed points to create. |
| fixed_pts | Optional locations to preserve during meshing. |
| params | VulPoly relaxation and cleanup parameters. |
| seed | Seed value for the pseudorandom strategy; the current configuration selects additive recurrence points. |
| Mesh< FloatType, IndexType, Dim > vulpes::geometry::vulpoly::mesh | ( | std::vector< Point< FloatType, Dim > > & | center_pts, |
| const DistanceExpression< FloatType, Dim, D > & | distanceFunction, | ||
| const std::vector< Point< FloatType, Dim > > & | fixed_pts = {}, | ||
| const VulPolyParams< FloatType > & | params = {} ) |
Generate a VulPoly mesh from caller-supplied seed points.
| FloatType | Coordinate scalar type. |
| IndexType | Mesh index type. |
| Dim | Spatial dimension; currently 2 or 3. |
| D | Distance-expression implementation type. |
| [in,out] | center_pts | Initial seed points; updated in place by the meshing procedure, including reflected points retained in the final iteration. |
| distanceFunction | Signed-distance expression describing the domain. | |
| fixed_pts | Optional locations to preserve during meshing. | |
| params | VulPoly relaxation and cleanup parameters. |