AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::quest::TriangleGWN3D< ORDER > Class Template Reference

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/quest/GWNMethods.hpp>

Public Types

using Point3D = axom::primal::Point< double, 3 >
 
using BoxType = axom::primal::BoundingBox< double, 3 >
 
using TriangleType = axom::primal::Triangle< double, 3 >
 
using GWNMoments = axom::quest::GWNMomentData< double, 3, ORDER >
 

Public Member Functions

 TriangleGWN3D ()=default
 
void preprocess (axom::mint::UnstructuredMesh< axom::mint::SINGLE_SHAPE > *tri_mesh, bool useDirectEval)
 Load mesh data into primal::Triangles. If fast-approximation is used, construct BVH. More...
 
void query (mfem::DataCollection &dc, const primal::WindingTolerances &tol, const double slice_z=0.0)
 Evaluate the GWN for a query grid at the DOFs of the dc query mesh. More...
 

Member Typedef Documentation

◆ Point3D

template<int ORDER>
using axom::quest::TriangleGWN3D< ORDER >::Point3D = axom::primal::Point<double, 3>

◆ BoxType

template<int ORDER>
using axom::quest::TriangleGWN3D< ORDER >::BoxType = axom::primal::BoundingBox<double, 3>

◆ TriangleType

template<int ORDER>
using axom::quest::TriangleGWN3D< ORDER >::TriangleType = axom::primal::Triangle<double, 3>

◆ GWNMoments

template<int ORDER>
using axom::quest::TriangleGWN3D< ORDER >::GWNMoments = axom::quest::GWNMomentData<double, 3, ORDER>

Constructor & Destructor Documentation

◆ TriangleGWN3D()

template<int ORDER>
axom::quest::TriangleGWN3D< ORDER >::TriangleGWN3D ( )
default

Member Function Documentation

◆ preprocess()

◆ query()

template<int ORDER>
void axom::quest::TriangleGWN3D< ORDER >::query ( mfem::DataCollection &  dc,
const primal::WindingTolerances tol,
const double  slice_z = 0.0 
)
inline

Evaluate the GWN for a query grid at the DOFs of the dc query mesh.

Parameters
[in]dcA query grid to be evaluated at the DOFs
[in]tolA collection of possible tolerances for GWN evaluation
[in]slice_zIf the dc mesh is 2D, the GWN will be evaluated on a slice parallel to the x-y plane with this offset on the z-axis

References axom::primal::Point< T, NDIMS >::array(), AXOM_ANNOTATE_METADATA, AXOM_ANNOTATE_SCOPE, axom::primal::WindingTolerances::edge_tol, axom::utilities::Timer::elapsed(), axom::utilities::Timer::elapsedTimeInMilliSec(), axom::primal::WindingTolerances::EPS, axom::quest::fast_approximate_winding_number(), axom::spin::BVH< NDIMS, ExecSpace, FloatType, BVHImpl >::getTraverser(), axom::spin::BVH< NDIMS, ExecSpace, FloatType, BVHImpl >::isInitialized(), axom::utilities::locale(), SLIC_INFO, SLIC_WARNING, axom::utilities::Timer::stop(), and axom::primal::winding_number().


The documentation for this class was generated from the following file: