AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
FastApproximateGWN.hpp File Reference
#include "axom/primal.hpp"
#include <type_traits>

Classes

class  axom::quest::GWNMomentData< T, NDIMS, ORD >
 

Namespaces

 axom
 
 axom::quest
 
 axom::quest::detail
 

Functions

constexpr int axom::quest::detail::get_num_moment_entries (int ndim, int ord)
 
template<typename T , int NDIMS, int ORD, typename LeafGeometry , typename TraverserType >
double axom::quest::fast_approximate_winding_number (const primal::Point< T, NDIMS > &query, const TraverserType &traverser, const ArrayView< LeafGeometry > &leaf_objects, const ArrayView< GWNMomentData< T, NDIMS, ORD >> &internal_moments, const primal::WindingTolerances &wt, double beta=2.0)
 Evaluate a hierarchical approximation of the GWN for the shape in leaf_objects, encompassed by traverser's BVH. More...
 
template<typename T >
axom::Array< primal::NURBSCurve< T, 2 > > axom::quest::subdivide_curves (const axom::ArrayView< const primal::NURBSCurve< T, 2 >> &input_curves_view, double bbox_threshold, int max_curves=1e6, int npasses=10)
 Subdivides an array of NURBS curves to limit their maximum AABB diagonal. More...
 
template<typename T >
axom::Array< primal::NURBSPatch< T, 3 > > axom::quest::subdivide_patches (const axom::ArrayView< const primal::NURBSPatch< T, 3 >> &input_patches_view, double bbox_threshold, int max_patches=1e5, int npasses=10)
 Subdivides an array of trimmed NURBS surfaces to limit their maximum AABB diagonal. More...