AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Concrete class for sample based shaping. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.6.1/src/axom/quest/SamplingShaper.hpp>
Public Member Functions | |
SamplingShaper (const klee::ShapeSet &shapeSet, sidre::MFEMSidreDataCollection *dc) | |
void | adjustVolumeFractions () override |
bool | isVerbose () const |
sidre::MFEMSidreDataCollection * | getDC () |
mint::Mesh * | getSurfaceMesh () const |
virtual bool | isValidFormat (const std::string &format) const |
Predicate to determine if the specified format is valid. More... | |
Functions to get and set shaping parameters related to sampling; supplements parameters in base class | |
void | setSamplingType (shaping::VolFracSampling vfSampling) |
void | setQuadratureOrder (int quadratureOrder) |
void | setVolumeFractionOrder (int volfracOrder) |
Functions related to the stages for a given shape | |
void | prepareShapeQuery (klee::Dimensions shapeDimension, const klee::Shape &shape) override |
Initializes the spatial index for shaping. More... | |
void | runShapeQuery (const klee::Shape &shape) override |
void | applyReplacementRules (const klee::Shape &shape) override |
void | finalizeShapeQuery () override |
Functions to get and set shaping parameters | |
void | setSamplesPerKnotSpan (int nSamples) |
void | setVertexWeldThreshold (double threshold) |
void | setVerbosity (bool isVerbose) |
Functions related to the stages for a given shape | |
virtual void | loadShape (const klee::Shape &shape) |
Loads the shape from file into m_surfaceMesh. More... | |
virtual void | applyTransforms (const klee::Shape &shape) |
Protected Member Functions | |
int | getRank () const |
Helper function to get the rank associated with the current process. More... | |
double | allReduceSum (double val) const |
Helper to apply a parallel sum reduction to a quantity. More... | |
Protected Attributes | |
const klee::ShapeSet & | m_shapeSet |
sidre::MFEMSidreDataCollection * | m_dc |
mint::Mesh * | m_surfaceMesh {nullptr} |
int | m_samplesPerKnotSpan {25} |
double | m_vertexWeldThreshold {1e-9} |
bool | m_verboseOutput {false} |
MPI_Comm | m_comm {MPI_COMM_SELF} |
Concrete class for sample based shaping.
|
inline |
|
inline |
|
inline |
|
inline |
References SLIC_ERROR_IF, axom::klee::Three, and axom::klee::Two.
|
inlineoverridevirtual |
Initializes the spatial index for shaping.
Implements axom::quest::Shaper.
References axom::quest::shaping::InOutSampler< NDIMS >::computeBounds(), axom::slic::message::Debug, axom::klee::Shape::getName(), SLIC_ASSERT, SLIC_ERROR, SLIC_INFO, axom::klee::Three, axom::klee::Two, axom::slic::message::Warning, and axom::mint::write_vtk().
|
inlineoverridevirtual |
Implements axom::quest::Shaper.
References axom::slic::message::Debug, axom::klee::Shape::getName(), SLIC_INFO, axom::klee::Three, axom::klee::Two, and axom::slic::message::Warning.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements axom::quest::Shaper.
|
inlineoverridevirtual |
|
inherited |
|
inherited |
|
inlineinherited |
References axom::quest::Shaper::isVerbose(), and axom::quest::Shaper::m_verboseOutput.
|
inlineinherited |
References axom::quest::Shaper::m_verboseOutput.
Referenced by axom::quest::IntersectionShaper::setExecPolicy(), and axom::quest::Shaper::setVerbosity().
|
inlineinherited |
|
inlineinherited |
References axom::quest::Shaper::adjustVolumeFractions(), axom::quest::Shaper::allReduceSum(), axom::quest::Shaper::applyReplacementRules(), axom::quest::Shaper::applyTransforms(), axom::quest::Shaper::finalizeShapeQuery(), axom::quest::Shaper::getRank(), axom::quest::Shaper::isValidFormat(), axom::quest::Shaper::loadShape(), axom::quest::Shaper::m_surfaceMesh, axom::quest::Shaper::prepareShapeQuery(), and axom::quest::Shaper::runShapeQuery().
Referenced by axom::quest::IntersectionShaper::setExecPolicy().
|
virtualinherited |
Predicate to determine if the specified format is valid.
format | A string listing the format to check |
Referenced by axom::quest::Shaper::getSurfaceMesh().
|
virtualinherited |
Loads the shape from file into m_surfaceMesh.
Referenced by axom::quest::Shaper::getSurfaceMesh().
|
virtualinherited |
Referenced by axom::quest::Shaper::getSurfaceMesh().
|
protectedinherited |
Helper function to get the rank associated with the current process.
Referenced by axom::quest::Shaper::getSurfaceMesh().
|
protectedinherited |
Helper to apply a parallel sum reduction to a quantity.
Referenced by axom::quest::Shaper::getSurfaceMesh(), and axom::quest::IntersectionShaper::setExecPolicy().
|
protectedinherited |
|
protectedinherited |
Referenced by axom::quest::Shaper::getDC().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Referenced by axom::quest::Shaper::isVerbose(), and axom::quest::Shaper::setVerbosity().
|
protectedinherited |