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

Interface for building node to zone relation. More...

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

Static Public Member Functions

static void execute (ViewType nodesView, ViewType zonesView, ViewType sizesView, ViewType offsetsView, int allocator_id=axom::execution_space< ExecSpace >::allocatorID())
 Given views that contain the nodes and zones, sort the zones using the node numbers to produce a list of zones for each node and an offsets array that points to the start of each list of zones. More...
 

Detailed Description

template<typename ExecSpace, typename ViewType>
struct axom::bump::details::BuildRelation< ExecSpace, ViewType >

Interface for building node to zone relation.

Member Function Documentation

◆ execute()

template<typename ExecSpace , typename ViewType >
static void axom::bump::details::BuildRelation< ExecSpace, ViewType >::execute ( ViewType  nodesView,
ViewType  zonesView,
ViewType  sizesView,
ViewType  offsetsView,
int  allocator_id = axom::execution_space<ExecSpace>::allocatorID() 
)
inlinestatic

Given views that contain the nodes and zones, sort the zones using the node numbers to produce a list of zones for each node and an offsets array that points to the start of each list of zones.

Parameters
[in]nodesViewA view that contains the set of all of the nodes in the topology (the connectivity)
[in,out]zonesViewA view (same size as nodesView) that contains the zone number of each node.
[out]sizesViewA view that we fill with sizes.
[out]offsetsViewA view that we fill with offsets so offsetsView[i] points to the start of the i'th list in zonesView.

References axom::bump::details::BuildRelationImpl< ExecSpace, ViewType >::execute().


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