Create a point mesh representation of the input mesh using zone centers as the coordinates in a new coordset.
More...
|
| | MakePointMesh (const TopologyView &topologyView, const CoordsetView &coordsetView) |
| | Constructor. More...
|
| |
| void | setAllocatorID (int allocator_id) |
| | Set the allocator id to use when allocating memory. More...
|
| |
| int | getAllocatorID () const |
| | Get the allocator id to use when allocating memory. More...
|
| |
| void | execute (const conduit::Node &n_topology, const conduit::Node &n_coordset, const conduit::Node &n_options, conduit::Node &n_output) const |
| | Create a new field from the input topology and place it in n_output. More...
|
| |
| void | execute (axom::ArrayView< axom::IndexType > selectedZonesView, const conduit::Node &n_topology, const conduit::Node &n_coordset, const conduit::Node &n_options, conduit::Node &n_output) const |
| | Create a new point mesh using a subset of the input mesh zones. More...
|
| |
template<typename ExecSpace, typename TopologyView, typename CoordsetView>
struct axom::bump::MakePointMesh< ExecSpace, TopologyView, CoordsetView >
Create a point mesh representation of the input mesh using zone centers as the coordinates in a new coordset.
template<typename ExecSpace , typename TopologyView , typename CoordsetView >
| void axom::bump::MakePointMesh< ExecSpace, TopologyView, CoordsetView >::execute |
( |
const conduit::Node & |
n_topology, |
|
|
const conduit::Node & |
n_coordset, |
|
|
const conduit::Node & |
n_options, |
|
|
conduit::Node & |
n_output |
|
) |
| const |
|
inline |
template<typename ExecSpace , typename TopologyView , typename CoordsetView >
Create a new point mesh using a subset of the input mesh zones.
- Parameters
-
| selectedZonesView | A view that contains the selected zone ids. |
| n_topology | A node that contains the input topology. |
| n_coordset | A node that contains the input coordset. |
| n_options | A node that contains options. |
| [out] | n_output | A node that will contain the new point mesh. |
References AXOM_ANNOTATE_BEGIN, AXOM_ANNOTATE_END, AXOM_ANNOTATE_SCOPE, AXOM_LAMBDA, axom::sidre::ConduitMemory::axomAllocIdToConduit(), axom::bump::Options::coordsetName(), axom::bump::MakeZoneCenters< ExecSpace, TopologyView, CoordsetView >::execute(), axom::bump::MakePointMesh< ExecSpace, TopologyView, CoordsetView >::getAllocatorID(), axom::bump::MakeZoneCenters< ExecSpace, TopologyView, CoordsetView >::setAllocatorID(), axom::ArrayView< T, DIM, SPACE >::size(), and axom::bump::Options::topologyName().