MCPcopy Create free account
hub / github.com/KratosMultiphysics/Kratos / NDData

Method NDData

kratos/containers/nd_data.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28template<class TDataType>
29NDData<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
36template<class TDataType>
37NDData<TDataType>::NDData(

Callers

nothing calls this directly

Calls 5

SizeMethod · 0.95
ViewDataMethod · 0.95
for_eachMethod · 0.45
dataMethod · 0.45
ShapeMethod · 0.45

Tested by

no test coverage detected