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  InterleavedOrStridedPoints
 Utility class to enable processing an array of points whose layout is either interleaved or separated strided arrays. More...
 
struct  UcdMeshData
 Helper class for handling unstructured surface meshes on the GPU. More...
 

Enumerations

enum class  ClosestPointLocType { uninitialized = -1 , vertex = 0 , edge = 1 , 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...
 

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

◆ 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.

◆ 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.