FreePOOMA
2.4.1
|
CopyLocStorage is a simple struct with one static member 'copy' that copies data out of a given single domain into the given Loc. More...
#include <Loc.h>
Static Public Member Functions | |
static void | copy (Loc< Dim > &loc, const T &a) |
CopyLocStorage is a simple struct with one static member 'copy' that copies data out of a given single domain into the given Loc.
If the data is greater than 1D, only the dimensions of the given domain are copied. If the data is 1D, then the value of the domain is copied into all 'Dim' dimensions of the Loc. So there is a 1D specialization of CopyLocStorage.
static void CopyLocStorage< Dim, T >::copy | ( | Loc< Dim > & | loc, |
const T & | a | ||
) | [inline, static] |