FreePOOMA
2.4.1
|
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>
Public Types | |
enum | { oldDim = Dim, newDim = Dim } |
typedef T | OldType_t |
typedef T | NewType_t |
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.
typedef T DomainChangeDim< T, Dim >::OldType_t |
typedef T DomainChangeDim< T, Dim >::NewType_t |