AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::quest::detail Namespace Reference

Classes

class  InOutOctreeMeshDumper
 
class  InOutOctreeMeshDumperBase
 
class  PointInCellMeshWrapper
 A wrapper class for accessing the mesh instance associated with a PointInCell query. More...
 
struct  UcdMeshData
 Helper class for handling unstructured surface meshes on the GPU. More...
 

Typedefs

using UMesh = mint::UnstructuredMesh< mint::SINGLE_SHAPE >
 
using Triangle3 = primal::Triangle< double, 3 >
 
using SpatialBoundingBox = primal::BoundingBox< double, 3 >
 
using UniformGrid3 = spin::UniformGrid< int, 3 >
 
using Point3 = primal::Point< double, 3 >
 

Enumerations

enum  ClosestPointLocType { ClosestPointLocType::uninitialized = -1, ClosestPointLocType::vertex = 0, ClosestPointLocType::edge = 1, ClosestPointLocType::face = 2 }
 Enum for different 'location' types returned by primal::closest_point() More...
 

Functions

bool SD_GetUcdMeshData (const mint::Mesh *surfaceMesh, UcdMeshData &outSurfData)
 Creates a POD UcdMeshData object from a polymorphic mint::Mesh pointer. More...
 
AXOM_HOST_DEVICE ClosestPointLocType getClosestPointLocType (int loc)
 Converts from loc code returned by primal::closest_point() to a ClosestPointLocType enum. More...
 
AXOM_HOST_DEVICE bool isClosestPointTypeShared (ClosestPointLocType cpt)
 A ClosestPointLocType is shared for a vertex or edge, unshared otherwise. More...
 

Typedef Documentation

◆ UMesh

◆ Triangle3

◆ SpatialBoundingBox

◆ UniformGrid3

◆ Point3

using axom::quest::detail::Point3 = typedef primal::Point<double, 3>

Enumeration Type Documentation

◆ ClosestPointLocType

Enum for different 'location' types returned by primal::closest_point()

Enumerator
uninitialized 
vertex 
edge 
face 

Function Documentation

◆ SD_GetUcdMeshData()

bool axom::quest::detail::SD_GetUcdMeshData ( const mint::Mesh surfaceMesh,
UcdMeshData outSurfData 
)

Creates a POD UcdMeshData object from a polymorphic mint::Mesh pointer.

Parameters
[in]surfaceMeshthe mint::Mesh pointer with the surface mesh
[out]outSurfDatathe UcdMeshData object with underlying mesh data
Returns
true if the mesh was an unstructured mesh, false otherwise

Referenced by axom::quest::SignedDistance< NDIMS, ExecSpace >::computeDistances(), and axom::quest::SignedDistance< NDIMS, ExecSpace >::setMesh().

◆ getClosestPointLocType()

AXOM_HOST_DEVICE ClosestPointLocType axom::quest::detail::getClosestPointLocType ( int  loc)
inline

Converts from loc code returned by primal::closest_point() to a ClosestPointLocType enum.

References edge, face, SLIC_ASSERT_MSG, and vertex.

Referenced by axom::quest::SignedDistance< NDIMS, ExecSpace >::computeDistances().

◆ isClosestPointTypeShared()

AXOM_HOST_DEVICE bool axom::quest::detail::isClosestPointTypeShared ( ClosestPointLocType  cpt)
inline

A ClosestPointLocType is shared for a vertex or edge, unshared otherwise.

References edge, and vertex.

Referenced by axom::quest::SignedDistance< NDIMS, ExecSpace >::computeDistances().