| 27 | |
| 28 | template<class TDataType> |
| 29 | NDData<TDataType>::NDData(const DenseVector<unsigned int>& rShape) |
| 30 | : mShape(rShape) |
| 31 | { |
| 32 | // allocate new memory |
| 33 | mpData = Kratos::make_intrusive<PointerWrapper>(new TDataType[this->Size()], true); |
| 34 | } |
| 35 | |
| 36 | template<class TDataType> |
| 37 | NDData<TDataType>::NDData( |