Compilation Error

Hi everybody,

I have made some simulations regarding to the heat transfer. I tried to compute the heat flux in Y direction using Palabos. When I tried to use the public member function “ofile << setprecision(15) << *computeHeatFlux(adLattice, Box3D(0,nx-1, 0,ny-1, 0,nz-1),1) << endl” I got an compilation error.
When I computed distribution of temperature I used the similar public member function “ofile << setprecision(15) << *computeDensity(adLattice, Box3D(0,nx-1, 0,ny-1, 0,nz-1)) << endl” and it works.

Is possible to compute the heat flux by computing the populations first, by using the public member function “ofile << setprecision(15) << *computePopulation(adLattice, Box3D(0,nx-1, 0,ny-1, 0,nz-1),5) << endl;” (fot the heat flux in Y direction it is population5 and population2) and then to calculate the heat flux by the formula “q=(Population5 – Population2)*(tau-0.5)/tau” .

Thank you in advance.

Regards,
Marc