Skip to content

Reply To: Printing velocity data

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

^