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

This class uses BlendData to generate a new blended field from an input coordset. The output coordset will be explicit. More...

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

Public Types

using CoordsetViewType = CSVType
 

Public Member Functions

void execute (const BlendData &blend, const CoordsetViewType &view, const conduit::Node &n_input, conduit::Node &n_output, int allocator_id=axom::execution_space< ExecSpace >::allocatorID()) const
 Create a new blended field from the n_input field and place it in n_output. More...
 

Detailed Description

template<typename ExecSpace, typename CSVType, typename SelectionPolicy>
class axom::bump::CoordsetBlender< ExecSpace, CSVType, SelectionPolicy >

This class uses BlendData to generate a new blended field from an input coordset. The output coordset will be explicit.

Template Parameters
ExecSpaceThe execution space for the algorithm.
CSVTypeThe coordset view type.
SelectionPolicyThe selection policy to use.

Member Typedef Documentation

◆ CoordsetViewType

template<typename ExecSpace , typename CSVType , typename SelectionPolicy >
using axom::bump::CoordsetBlender< ExecSpace, CSVType, SelectionPolicy >::CoordsetViewType = CSVType

Member Function Documentation

◆ execute()

template<typename ExecSpace , typename CSVType , typename SelectionPolicy >
void axom::bump::CoordsetBlender< ExecSpace, CSVType, SelectionPolicy >::execute ( const BlendData blend,
const CoordsetViewType view,
const conduit::Node &  n_input,
conduit::Node &  n_output,
int  allocator_id = axom::execution_space<ExecSpace>::allocatorID() 
) const
inline

Create a new blended field from the n_input field and place it in n_output.

Parameters
blendBlend data that describes how to create the new coordset.
blendThe BlendData that will be used to make the new coordset.
n_inputThe input coordset that we're blending.
n_outputThe output node that will contain the new coordset.
Note
The coordset view must agree with the coordset in n_input. We pass both a view and the coordset node since the view may not be able to contain some coordset metadata and remain trivially copyable.

References AXOM_LAMBDA, axom::sidre::ConduitMemory::axomAllocIdToConduit(), axom::bump::utilities::coordsetAxes(), axom::utilities::annotations::end(), axom::bump::BlendData::m_blendCoeffView, axom::bump::BlendData::m_blendGroupSizesView, axom::bump::BlendData::m_blendGroupStartView, axom::bump::BlendData::m_blendIdsView, axom::bump::BlendData::m_originalIdsView, axom::ArrayView< T, DIM, SPACE >::size(), and SLIC_ASSERT.


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