|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Make a polyhedral unstructured representation of a topology. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/MakePolyhedralTopology.hpp>
Public Types | |
| using | ConnectivityType = typename TopologyView::ConnectivityType |
Public Member Functions | |
| MakePolyhedralTopology (const TopologyView &topologyView) | |
| 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_topo, conduit::Node &n_newTopo) const |
| Make a polyhedral unstructured representation of a topology. More... | |
Public Attributes | |
| TopologyView | m_topologyView |
| int | m_allocator_id |
Make a polyhedral unstructured representation of a topology.
| ExecSpace | The execution space where the algorithm runs. |
| TopologyView | The topology view type. |
| using axom::bump::MakePolyhedralTopology< ExecSpace, TopologyView >::ConnectivityType = typename TopologyView::ConnectivityType |
|
inline |
Constructor.
| topologyView | The topology view that wraps the input topology. |
|
inline |
Set the allocator id to use when allocating memory.
| allocator_id | The allocator id to use when allocating memory. |
References axom::isValidAllocatorID(), axom::bump::MakePolyhedralTopology< ExecSpace, TopologyView >::m_allocator_id, and SLIC_ERROR_IF.
|
inline |
Get the allocator id to use when allocating memory.
References axom::bump::MakePolyhedralTopology< ExecSpace, TopologyView >::m_allocator_id.
|
inline |
Make a polyhedral unstructured representation of a topology.
| ExecSpace | The execution space where the work will be done. |
| n_topo | The input topology to be turned polyhedral. | |
| [out] | n_newTopo | The node that will contain the new polyhedral topology. |
References AXOM_ANNOTATE_BEGIN, AXOM_ANNOTATE_END, AXOM_ANNOTATE_SCOPE, AXOM_LAMBDA, axom::sidre::ConduitMemory::axomAllocIdToConduit(), axom::Array< T, DIM, SPACE, StoragePolicy >::clear(), axom::serial::reductions::ReduceSum< ExecSpace, T >::get(), axom::bump::MakePolyhedralTopology< ExecSpace, TopologyView >::getAllocatorID(), axom::bump::MakePolyhedralTopology< ExecSpace, TopologyView >::m_topologyView, SLIC_ERROR_IF, and axom::Array< T, DIM, SPACE, StoragePolicy >::view().
| TopologyView axom::bump::MakePolyhedralTopology< ExecSpace, TopologyView >::m_topologyView |
| int axom::bump::MakePolyhedralTopology< ExecSpace, TopologyView >::m_allocator_id |