AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::bump::NodeToZoneRelationBuilder< ExecSpace > Class Template Reference

Build an o2m relation that lets us look up the zones for a node. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/NodeToZoneRelationBuilder.hpp>

Public Member Functions

 NodeToZoneRelationBuilder ()
 
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 &topo, const conduit::Node &coordset, conduit::Node &relation)
 Build a node to zone relation and store the resulting O2M relation in the relation conduit node. More...
 

Detailed Description

template<typename ExecSpace>
class axom::bump::NodeToZoneRelationBuilder< ExecSpace >

Build an o2m relation that lets us look up the zones for a node.

Note
The zone list for each point is not sorted.

Constructor & Destructor Documentation

◆ NodeToZoneRelationBuilder()

template<typename ExecSpace >
axom::bump::NodeToZoneRelationBuilder< ExecSpace >::NodeToZoneRelationBuilder ( )
inline

Member Function Documentation

◆ setAllocatorID()

template<typename ExecSpace >
void axom::bump::NodeToZoneRelationBuilder< ExecSpace >::setAllocatorID ( int  allocator_id)
inline

Set the allocator id to use when allocating memory.

Parameters
allocator_idThe allocator id to use when allocating memory.

References axom::isValidAllocatorID(), and SLIC_ERROR_IF.

◆ getAllocatorID()

template<typename ExecSpace >
int axom::bump::NodeToZoneRelationBuilder< ExecSpace >::getAllocatorID ( ) const
inline

Get the allocator id to use when allocating memory.

Returns
The allocator id to use when allocating memory.

◆ execute()

template<typename ExecSpace >
void axom::bump::NodeToZoneRelationBuilder< ExecSpace >::execute ( const conduit::Node &  topo,
const conduit::Node &  coordset,
conduit::Node &  relation 
)
inline

Build a node to zone relation and store the resulting O2M relation in the relation conduit node.

Parameters
topoThe topology for which we're building the O2M relation.
coordsetThe topology's coordset.
[out]Thenode that will contain the O2M relation.

References AXOM_UNUSED_PARAM, axom::sidre::ConduitMemory::axomAllocIdToConduit(), axom::bump::views::dispatch_unstructured_polyhedral_topology(), axom::bump::MakeUnstructured< ExecSpace >::execute(), axom::bump::details::BuildRelation< ExecSpace, ViewType >::execute(), and axom::bump::NodeToZoneRelationBuilder< ExecSpace >::getAllocatorID().


The documentation for this class was generated from the following file: