CopyLocStorage< Dim, T > Struct Template Reference

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>

List of all members.

Static Public Member Functions

static void copy (Loc< Dim > &loc, const T &a)


Detailed Description

template<int Dim, class T>
struct CopyLocStorage< Dim, T >

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.


Member Function Documentation

template<int Dim, class T >
static void CopyLocStorage< Dim, T >::copy ( Loc< Dim > &  loc,
const T &  a 
) [inline, static]


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

Generated on Wed Mar 16 06:19:46 2011 for FreePOOMA by  doxygen 1.5.9