Commit 15e6229b authored by fabianw's avatar fabianw

BlockType and ElementType provide RealType instead of Real

parent fc3b9513
......@@ -43,7 +43,7 @@ class BlockLab
public:
typedef ElementTypeT ElementType;
typedef typename ElementTypeT::Real Real; // Element type MUST provide `Real` type.
typedef typename ElementTypeT::RealType Real; // Element type MUST provide `RealType`.
protected:
typedef TBlock BlockType;
......
......@@ -97,7 +97,7 @@ protected:
public:
typedef Block BlockType;
typedef typename Block::Real Real; // Block MUST provide `Real` type.
typedef typename Block::RealType Real; // Block MUST provide `RealType`.
Grid(const unsigned int _NX, const unsigned int _NY = 1, const unsigned int _NZ = 1, const double _maxextent = 1) :
m_blocks(NULL), maxextent(_maxextent), N(_NX*_NY*_NZ), NX(_NX), NY(_NY), NZ(_NZ),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment