AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.6.1/src/axom/quest/SamplingShaper.hpp>
Public Types | |
using | InOutOctreeType = quest::InOutOctree< DIM > |
using | GeometricBoundingBox = typename InOutOctreeType::GeometricBoundingBox |
using | SpacePt = typename InOutOctreeType::SpacePt |
using | SpaceVector = typename InOutOctreeType::SpaceVector |
using | GridPt = typename InOutOctreeType::GridPt |
using | BlockIndex = typename InOutOctreeType::BlockIndex |
Public Member Functions | |
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) |
void | sampleInOutField (mfem::DataCollection *dc, shaping::QFunctionCollection &inoutQFuncs, int sampleRes) |
void | computeVolumeFractionsBaseline (mfem::DataCollection *dc, int AXOM_UNUSED_PARAM(sampleRes), int outputOrder) |
Static Public Attributes | |
static constexpr int | DIM = NDIMS |
using axom::quest::shaping::InOutSampler< NDIMS >::InOutOctreeType = quest::InOutOctree<DIM> |
using axom::quest::shaping::InOutSampler< NDIMS >::GeometricBoundingBox = typename InOutOctreeType::GeometricBoundingBox |
using axom::quest::shaping::InOutSampler< NDIMS >::SpacePt = typename InOutOctreeType::SpacePt |
using axom::quest::shaping::InOutSampler< NDIMS >::SpaceVector = typename InOutOctreeType::SpaceVector |
using axom::quest::shaping::InOutSampler< NDIMS >::GridPt = typename InOutOctreeType::GridPt |
using axom::quest::shaping::InOutSampler< NDIMS >::BlockIndex = typename InOutOctreeType::BlockIndex |
|
inline |
Constructor for a SamplingShaper.
shapeName | The name of the shape; will be used for the field for the associated samples |
surfaceMesh | Pointer to the surface mesh |
|
inline |
|
inline |
|
inline |
Computes the bounding box of the surface mesh.
Referenced by axom::quest::SamplingShaper::prepareShapeQuery().
|
inline |
|
inline |
|
inline |
Compute volume fractions function for shape on a grid of resolution gridRes in region defined by bounding box queryBounds
|
static |