Skip to content

Reply To: Printing velocity data

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics Printing velocity data 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;   

^