Reply To: Printing velocity data
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Printing velocity data › Reply To: Printing velocity data
March 19, 2020 at 8:04 am
#4854
sthavishtha
Participant
Dear Adrian
Thanks for the reply. Unfortunately, this doesn’t work as get() is not a member of the class BlockReduction2D2D (see the error below).
cavity2d.cpp:224:30: error: ‘class olb::BlockReduction2D2D<double>’ has no member named ‘get’
<< velocityPlane.get(iX, iY, 0) << " "
^
cavity2d.cpp:225:30: error: ‘class olb::BlockReduction2D2D<double>’ has no member named ‘get’
<< velocityPlane.get(iX, iY, 1) << endl;
^