This class uses SliceData to generate a new sliced field from an input field.
More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/bump/FieldSlicer.hpp>
template<typename ExecSpace, typename IndexingPolicy = DirectIndexing>
class axom::bump::FieldSlicer< ExecSpace, IndexingPolicy >
This class uses SliceData to generate a new sliced field from an input field.
- Template Parameters
-
| ExecSpace | The execution space where the algorithm will run. |
| IndexingPolicy | A class that provides operator[] that can transform zone indices. |
◆ FieldSlicer() [1/2]
template<typename ExecSpace , typename IndexingPolicy = DirectIndexing>
◆ FieldSlicer() [2/2]
template<typename ExecSpace , typename IndexingPolicy = DirectIndexing>
Constructor.
- Parameters
-
| indexing | An object used to transform node indices. |
◆ setAllocatorID()
template<typename ExecSpace , typename IndexingPolicy = DirectIndexing>
◆ getAllocatorID()
template<typename ExecSpace , typename IndexingPolicy = DirectIndexing>
Get the allocator id to use when allocating memory.
- Returns
- The allocator id to use when allocating memory.
◆ execute()
template<typename ExecSpace , typename IndexingPolicy = DirectIndexing>
Execute the slice on the n_input field and store the new sliced field in n_output.
- Parameters
-
| slice | The slice data that indicates how the field will be sliced. |
| n_input | A Conduit node containing the field to be sliced. |
| n_output | A node that will contain the sliced field. |
- Note
- We assume for now that n_input != n_output.
References axom::primal::slice().
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/bump/FieldSlicer.hpp