Re: Maximum size of a cuboid for writing to .vti
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › Bug Reports › Maximum size of a cuboid for writing to .vti › Re: Maximum size of a cuboid for writing to .vti
February 25, 2018 at 7:31 pm
#2787
Markus Mohrhard
Participant
Thanks for the report.
I have fixed this in our master branch through
Code:
std::unique_ptr<float[]> bufferFloat(new float[fullSize]);
which handles deleting the allocated memory as well. The same approach was already implemented in the 3D case.