template<typename ExecSpace, typename TopologyView, typename CoordsetView>
class axom::bump::ExtrudeMesh< ExecSpace, TopologyView, CoordsetView >
Extrude 2D Blueprint topologies that consist of tri/quad zones.
- Template Parameters
-
| ExecSpace | The execution space where the algorithm will execute. |
| TopologyView | The topology view that wraps the Blueprint topology. |
| CoordsetView | The coordset view that wraps the Blueprint coordset. |
- Note
- Future work: fields, making PH zones from polygons.
template<typename ExecSpace , typename TopologyView , typename CoordsetView >
| void axom::bump::ExtrudeMesh< ExecSpace, TopologyView, CoordsetView >::execute |
( |
const conduit::Node & |
n_mesh, |
|
|
const conduit::Node & |
n_options, |
|
|
conduit::Node & |
n_output |
|
) |
| const |
|
inline |
Execute the extrusion algorithm.
- Parameters
-
| n_mesh | A Conduit node containing the mesh (coordset, topologies, matset, etc.) |
| n_options | A Conduit node containing options that control the algorithm. |
| n_output | The Conduit node that will contain the extruded mesh. |
* Supported options:
*
* nz: 10
* z0: 0.
* z1: 1.
* topologyName: mesh
* outputTopologyName: newmesh
* outputCoordsetName: newcoordset
* outputMatsetName: newmatset
*
References AXOM_ANNOTATE_BEGIN, AXOM_ANNOTATE_END, AXOM_ANNOTATE_SCOPE, AXOM_LAMBDA, axom::sidre::ConduitMemory::axomAllocIdToConduit(), axom::utilities::bitIsSet(), axom::serial::reductions::ReduceSum< ExecSpace, T >::get(), axom::serial::reductions::ReduceBitOr< ExecSpace, T >::get(), axom::bump::ExtrudeMesh< ExecSpace, TopologyView, CoordsetView >::getAllocatorID(), axom::bump::views::Hex_ShapeID, axom::utilities::popcount(), axom::bump::views::Quad_ShapeID, SLIC_ASSERT, SLIC_ERROR, SLIC_ERROR_IF, and axom::bump::views::Wedge_ShapeID.