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, smpPl.meshCells()=0() However, it works in OF-1.5! (sampledPlane then constr. with 5 args) A bug? Regards /NW |
In 1.6 you'll need to call the 'update()' function to have it (re)calculate so
smpPl.update(); before accessing meshCells. Thanks for reporting, Mattijs |
All times are GMT -4. The time now is 22:41. |