Skip to content

Re: Maximum size of a cuboid for writing to .vti

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

Forums OpenLB Bug Reports Maximum size of a cuboid for writing to .vti Re: Maximum size of a cuboid for writing to .vti

#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.