CopyLocStorage< Dim, T > Struct Template Reference

#include <Loc.h>

List of all members.


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.

Static Public Member Functions

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


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 Sun May 17 21:42:57 2009 for FreePOOMA by  doxygen 1.5.5