STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::set_geom_vector< Dim > Struct Template Reference

Functor to set the coordinates of a geometric vector. More...

Public Member Functions

template<typename Coord , typename GeomVector >
GeomVector operator() (Coord coords, GeomVector geom_vector, size_t i)
 

Detailed Description

template<int Dim>
struct stapl::set_geom_vector< Dim >

Functor to set the coordinates of a geometric vector.

Template Parameters
Dimdimemsion of the vector.

Member Function Documentation

◆ operator()()

template<int Dim>
template<typename Coord , typename GeomVector >
GeomVector stapl::set_geom_vector< Dim >::operator() ( Coord  coords,
GeomVector  geom_vector,
size_t  i 
)
Parameters
coordsarray of coordinates.
geom_vectorgeometric vector to be set.
iposition of the coordinates in the source array.

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