Fixed access to pointMesh

This commit is contained in:
Hrvoje Jasak 2013-04-15 12:58:37 +01:00
parent 09a7727f57
commit 4f002e16f8

View file

@ -60,7 +60,7 @@ int main(int argc, char *argv[])
# include "createMesh.H" # include "createMesh.H"
const word oldInstance = mesh.pointsInstance(); const word oldInstance = mesh.pointsInstance();
pointMesh pMesh(mesh); const pointMesh& pMesh = pointMesh::New(mesh);
word cellSetName(args.args()[1]); word cellSetName(args.args()[1]);
bool overwrite = args.optionFound("overwrite"); bool overwrite = args.optionFound("overwrite");