This class uses SliceData to generate a new sliced coordset (pulling out specific points from input coordset).
More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/CoordsetSlicer.hpp>
|
| | CoordsetSlicer (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 SliceData &slice, const conduit::Node &n_input, conduit::Node &n_output) |
| | Execute the slice on the n_input coordset and store the new sliced coordset in n_output. More...
|
| |
template<typename ExecSpace, typename CoordsetView>
class axom::bump::CoordsetSlicer< ExecSpace, CoordsetView >
This class uses SliceData to generate a new sliced coordset (pulling out specific points from input coordset).
- Template Parameters
-
| ExecSpace | The execution space where the algorithm will run. |
| CoordsetView | The coordset view type to be operated on. |
◆ CoordsetSlicer()
template<typename ExecSpace , typename CoordsetView >
◆ setAllocatorID()
template<typename ExecSpace , typename CoordsetView >
◆ getAllocatorID()
template<typename ExecSpace , typename CoordsetView >
Get the allocator id to use when allocating memory.
- Returns
- The allocator id to use when allocating memory.
◆ execute()
template<typename ExecSpace , typename CoordsetView >
Execute the slice on the n_input coordset and store the new sliced coordset in n_output.
- Parameters
-
| slice | The slice data that indicates how the coordset will be sliced. |
| n_input | A Conduit node containing the coordset to be sliced. |
| n_output | A node that will contain the sliced coordset. |
- Note
- We assume for now that n_input != n_output.
References AXOM_ANNOTATE_SCOPE, AXOM_LAMBDA, axom::sidre::ConduitMemory::axomAllocIdToConduit(), axom::bump::utilities::coordsetAxes(), axom::bump::CoordsetSlicer< ExecSpace, CoordsetView >::getAllocatorID(), axom::bump::SliceData::m_indicesView, axom::ArrayView< T, DIM, SPACE >::size(), and SLIC_ASSERT.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/CoordsetSlicer.hpp