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

Get the min/max values for the data in a Conduit node or ArrayView. More...

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

Static Public Member Functions

static std::pair< ReturnType, ReturnType > execute (const conduit::Node &n)
 Get the min/max values for the data in a Conduit node. More...
 
template<typename T >
static std::pair< ReturnType, ReturnType > execute (const axom::ArrayView< T > nview)
 Get the min/max values for the data in an ArrayView. More...
 

Detailed Description

template<typename ExecSpace, typename ReturnType>
struct axom::bump::MinMax< ExecSpace, ReturnType >

Get the min/max values for the data in a Conduit node or ArrayView.

Template Parameters
ExecSpaceThe execution space where the algorithm will run.
ReturnTypeThe data type of the returned min/max values.

Member Function Documentation

◆ execute() [1/2]

template<typename ExecSpace , typename ReturnType >
static std::pair<ReturnType, ReturnType> axom::bump::MinMax< ExecSpace, ReturnType >::execute ( const conduit::Node &  n)
inlinestatic

Get the min/max values for the data in a Conduit node.

Parameters
[in]nThe Conduit node whose data we're checking.
Returns
A pair containing the min,max values in the node.

References SLIC_ASSERT.

◆ execute() [2/2]

template<typename ExecSpace , typename ReturnType >
template<typename T >
static std::pair<ReturnType, ReturnType> axom::bump::MinMax< ExecSpace, ReturnType >::execute ( const axom::ArrayView< T >  nview)
inlinestatic

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