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

Base template for computing coordset extents. This algorithm handles any coordset view. More...

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

Static Public Member Functions

static void computeExtents (CoordsetView coordsetView, axom::ArrayView< double > extentsView)
 Compute the spatial extents of the coordset into a device array. This implementation iterates over the coordset view and finds the min/max extents from the points. More...
 

Detailed Description

template<typename ExecSpace, typename CoordsetView, typename DataType, int NDIMS>
struct axom::bump::detail::ComputeCoordsetExtents< ExecSpace, CoordsetView, DataType, NDIMS >

Base template for computing coordset extents. This algorithm handles any coordset view.

Member Function Documentation

◆ computeExtents()

template<typename ExecSpace , typename CoordsetView , typename DataType , int NDIMS>
static void axom::bump::detail::ComputeCoordsetExtents< ExecSpace, CoordsetView, DataType, NDIMS >::computeExtents ( CoordsetView  coordsetView,
axom::ArrayView< double >  extentsView 
)
inlinestatic

Compute the spatial extents of the coordset into a device array. This implementation iterates over the coordset view and finds the min/max extents from the points.

Parameters
coordsetViewThe coordset view to use.
[out]extentsViewA view on the device that contains extents, stored: xmin, xmax, ymin, ymax, zmin, zmax.

References AXOM_ANNOTATE_SCOPE, AXOM_LAMBDA, axom::ArrayView< T, DIM, SPACE >::data(), and axom::utilities::max().


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