FreePOOMA  2.4.1
Public Types
DomainChangeDim< T, Dim > Struct Template Reference

DomainChangeDim is a struct which is templated on a domain of type T, which has some original number of dimensions oldDim, and a new number of dimensions Dim. More...

#include <DomainTraits.h>

List of all members.

Public Types

enum  { oldDim = Dim, newDim = Dim }
typedef T OldType_t
typedef T NewType_t

Detailed Description

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

DomainChangeDim is a struct which is templated on a domain of type T, which has some original number of dimensions oldDim, and a new number of dimensions Dim.

It is used to determine a new domain type which is of the same basic type but with a different number of dimensions (basically, it changes the dimension of T from oldDim --> Dim). It should define the following typedefs and static data:

We define here the basic form of the struct, but empty. Specialized domain types such define a partially specialized version of this struct with the above typedefs and static data relevant to that domain type.


Member Typedef Documentation

template<class T, int Dim>
typedef T DomainChangeDim< T, Dim >::OldType_t
template<class T, int Dim>
typedef T DomainChangeDim< T, Dim >::NewType_t

Member Enumeration Documentation

template<class T, int Dim>
anonymous enum
Enumerator:
oldDim 
newDim 

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