sampledPlane empty in OF-1.6 Bug?
I'm trying to use sampledPlane to average interpolated data over a plane. The sampledPlane is used as follows, (compiles nicely!)
plane Pl(xP, n);
sampledPlane smpPl("smpPl", mesh, Pl, word::null);
Info << "smpPl.meshCells()=" << smpPl.meshCells() << endl;
with the following outcome,
However, it works in OF-1.5! (sampledPlane then constr. with 5 args)
In 1.6 you'll need to call the 'update()' function to have it (re)calculate so
before accessing meshCells.
Thanks for reporting,
|All times are GMT -4. The time now is 15:36.|