#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/quest/SamplingShaper.hpp>
|
| InOutSampler (const std::string &shapeName, mint::Mesh *surfaceMesh) |
| Constructor for a SamplingShaper. More...
|
|
| ~InOutSampler () |
|
mint::Mesh * | getSurfaceMesh () const |
|
void | computeBounds () |
| Computes the bounding box of the surface mesh. More...
|
|
void | initSpatialIndex (double vertexWeldThreshold) |
|
template<int FromDim, int ToDim = DIM> |
std::enable_if_t< ToDim==DIM, void > | sampleInOutField (mfem::DataCollection *dc, shaping::QFunctionCollection &inoutQFuncs, int sampleRes, PointProjector< FromDim, ToDim > projector={}) |
| Samples the inout field over the indexed geometry, possibly using a callback function to project the input points (from the computational mesh) to query points on the spatial index. More...
|
|
template<int FromDim, int ToDim> |
std::enable_if_t< ToDim !=DIM, void > | sampleInOutField (mfem::DataCollection *, shaping::QFunctionCollection &, int, PointProjector< FromDim, ToDim >) |
|
void | computeVolumeFractionsBaseline (mfem::DataCollection *dc, int AXOM_UNUSED_PARAM(sampleRes), int outputOrder) |
|
|
static constexpr int | DIM = NDIMS |
|
◆ InOutOctreeType
◆ GeometricBoundingBox
◆ SpacePt
◆ SpaceVector
◆ GridPt
◆ BlockIndex
◆ InOutSampler()
Constructor for a SamplingShaper.
- Parameters
-
shapeName | The name of the shape; will be used for the field for the associated samples |
surfaceMesh | Pointer to the surface mesh |
- Note
- Does not take ownership of the surface mesh
◆ ~InOutSampler()
◆ getSurfaceMesh()
◆ computeBounds()
◆ initSpatialIndex()
◆ sampleInOutField() [1/2]
template<int NDIMS>
template<int FromDim, int ToDim = DIM>
Samples the inout field over the indexed geometry, possibly using a callback function to project the input points (from the computational mesh) to query points on the spatial index.
- Template Parameters
-
FromDim | The dimension of points from the input mesh |
ToDim | The dimension of points on the indexed shape |
- Parameters
-
[in] | dc | The data collection containing the mesh and associated query points |
[in,out] | inoutQFuncs | A collection of quadrature functions for the shape and material inout samples |
[in] | sampleRes | The quadrature order at which to sample the inout field |
[in] | projector | A callback function to apply to points from the input mesh before querying them on the spatial index |
- Note
- A projector callback must be supplied when FromDim is not equal to ToDim, the projector
-
ToDim must be equal to DIM, the dimension of the spatial index
◆ sampleInOutField() [2/2]
template<int NDIMS>
template<int FromDim, int ToDim>
◆ computeVolumeFractionsBaseline()
◆ DIM
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/quest/SamplingShaper.hpp