#include <DomainTraits.h>
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.
Public Types | |
| enum | { oldDim = Dim, newDim = Dim } |
| typedef T | OldType_t |
| typedef T | NewType_t |
| typedef T DomainChangeDim< T, Dim >::OldType_t |
| typedef T DomainChangeDim< T, Dim >::NewType_t |
1.5.5