LAMA
lama::UtilsInterface::Copy< ValueType1, ValueType2 > Struct Template Reference

#include <LAMAInterface.hpp>

Public Types

typedef void(* set )(ValueType1 out[], const ValueType2 in[], const IndexType n)
 Set out[i] = in[i], 0 <= i < n.
typedef void(* setGather )(ValueType1 out[], const ValueType2 in[], const IndexType indexes[], const IndexType n)
 Set out[i] = in[ indexes[i] ], $0 \le i < n$.
typedef void(* setScatter )(ValueType1 out[], const IndexType indexes[], const ValueType2 in[], const IndexType n)
 Set out[ indexes[i] ] = in [i].

template<typename ValueType1, typename ValueType2>
struct lama::UtilsInterface::Copy< ValueType1, ValueType2 >


Member Typedef Documentation

template<typename ValueType1 , typename ValueType2 >
typedef void( * lama::UtilsInterface::Copy< ValueType1, ValueType2 >::set)(ValueType1 out[], const ValueType2 in[], const IndexType n)

Set out[i] = in[i], 0 <= i < n.

template<typename ValueType1 , typename ValueType2 >
typedef void( * lama::UtilsInterface::Copy< ValueType1, ValueType2 >::setGather)(ValueType1 out[], const ValueType2 in[], const IndexType indexes[], const IndexType n)

Set out[i] = in[ indexes[i] ], $0 \le i < n$.

template<typename ValueType1 , typename ValueType2 >
typedef void( * lama::UtilsInterface::Copy< ValueType1, ValueType2 >::setScatter)(ValueType1 out[], const IndexType indexes[], const ValueType2 in[], const IndexType n)

Set out[ indexes[i] ] = in [i].


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