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/Shaper.hpp>
Public Member Functions | |
Shaper (const klee::ShapeSet &shapeSet, sidre::MFEMSidreDataCollection *dc) | |
virtual | ~Shaper ()=default |
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 | |
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) |
virtual void | prepareShapeQuery (klee::Dimensions shapeDimension, const klee::Shape &shape)=0 |
virtual void | runShapeQuery (const klee::Shape &shape)=0 |
virtual void | applyReplacementRules (const klee::Shape &shape)=0 |
virtual void | finalizeShapeQuery ()=0 |
Functions to generate/adjust volume fractions after all shapes have been applied | |
virtual void | adjustVolumeFractions ()=0 |
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} |
Abstract base class for shaping material volume fractions
axom::quest::Shaper::Shaper | ( | const klee::ShapeSet & | shapeSet, |
sidre::MFEMSidreDataCollection * | dc | ||
) |
|
virtualdefault |
void axom::quest::Shaper::setSamplesPerKnotSpan | ( | int | nSamples | ) |
void axom::quest::Shaper::setVertexWeldThreshold | ( | double | threshold | ) |
|
inline |
References isVerbose(), and m_verboseOutput.
|
inline |
References m_verboseOutput.
Referenced by axom::quest::IntersectionShaper::setExecPolicy(), and setVerbosity().
|
inline |
|
inline |
|
virtual |
Predicate to determine if the specified format is valid.
format | A string listing the format to check |
Referenced by getSurfaceMesh().
|
virtual |
Loads the shape from file into m_surfaceMesh.
Referenced by getSurfaceMesh().
|
virtual |
Referenced by getSurfaceMesh().
|
pure virtual |
Implemented in axom::quest::IntersectionShaper, and axom::quest::SamplingShaper.
Referenced by getSurfaceMesh().
|
pure virtual |
Implemented in axom::quest::IntersectionShaper, and axom::quest::SamplingShaper.
Referenced by getSurfaceMesh().
|
pure virtual |
Implemented in axom::quest::IntersectionShaper, and axom::quest::SamplingShaper.
Referenced by getSurfaceMesh().
|
pure virtual |
Implemented in axom::quest::IntersectionShaper, and axom::quest::SamplingShaper.
Referenced by getSurfaceMesh().
|
pure virtual |
Implemented in axom::quest::IntersectionShaper, and axom::quest::SamplingShaper.
Referenced by getSurfaceMesh().
|
protected |
Helper function to get the rank associated with the current process.
Referenced by getSurfaceMesh().
|
protected |
Helper to apply a parallel sum reduction to a quantity.
Referenced by getSurfaceMesh(), and axom::quest::IntersectionShaper::setExecPolicy().
|
protected |
|
protected |
Referenced by getDC().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by isVerbose(), and setVerbosity().
|
protected |