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

Helper class for handling unstructured surface meshes on the GPU. More...

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

Public Member Functions

AXOM_HOST_DEVICE mint::CellType getCellType (IndexType cellId) const
 Returns the type of the cell at the given index. More...
 
AXOM_HOST_DEVICE const IndexTypegetCellNodeIDs (IndexType cellId, int &nnodes) const
 Returns the node IDs of a given cell index. More...
 

Public Attributes

int shape_type
 
mint::CellType single_cell_type
 
const mint::CellTypecell_types
 
const IndexTypecells_to_nodes
 
IndexType nodes_per_cell
 
const IndexTypecell_node_offsets
 

Detailed Description

Helper class for handling unstructured surface meshes on the GPU.

Member Function Documentation

◆ getCellType()

AXOM_HOST_DEVICE mint::CellType axom::quest::detail::UcdMeshData::getCellType ( IndexType  cellId) const
inline

Returns the type of the cell at the given index.

References cell_types, shape_type, single_cell_type, axom::mint::SINGLE_SHAPE, SLIC_ASSERT, and axom::mint::UNDEFINED_CELL.

◆ getCellNodeIDs()

AXOM_HOST_DEVICE const IndexType* axom::quest::detail::UcdMeshData::getCellNodeIDs ( IndexType  cellId,
int &  nnodes 
) const
inline

Returns the node IDs of a given cell index.

Parameters
[in]cellIdthe cell index to query
[out]nnodesthe number of nodes in the given cell
Returns
pointer to the node IDs in the underlying cell node array.

References cell_node_offsets, cells_to_nodes, nodes_per_cell, shape_type, axom::mint::SINGLE_SHAPE, and SLIC_ASSERT.

Member Data Documentation

◆ shape_type

int axom::quest::detail::UcdMeshData::shape_type

◆ single_cell_type

mint::CellType axom::quest::detail::UcdMeshData::single_cell_type

◆ cell_types

const mint::CellType* axom::quest::detail::UcdMeshData::cell_types

◆ cells_to_nodes

const IndexType* axom::quest::detail::UcdMeshData::cells_to_nodes

◆ nodes_per_cell

IndexType axom::quest::detail::UcdMeshData::nodes_per_cell

◆ cell_node_offsets

const IndexType* axom::quest::detail::UcdMeshData::cell_node_offsets

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