Every 200 time steps for my parallel computation I need the data in one plane as input data for a data processor. Something like that:
MultiScalarField3D refPoints = *computeVelocityComponent(lattice, plane, 0)
–transfer refPoints to ScalarField3D refPoints2–
applyProcessingFunctional(new dataProcessor3D<T,DESCRIPTOR>(refPoints2), lattice.getBoundingBox(), lattice, multiscalarF);
I need the Field refpoints on all processors. So my idea is to convert that to a serial ScalarField3D. But how to do that? Is there already such a function in Palabos?
Or does anyone have a better idea?