ENH: pointMesh: use MeshObject form

This commit is contained in:
mattijs
2012-08-31 12:57:17 +01:00
parent 603b05c563
commit c1ef233e5d
9 changed files with 44 additions and 62 deletions

View File

@ -395,7 +395,7 @@ int main(int argc, char *argv[])
// Construct the point fields
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
pointMesh pMesh(mesh);
const pointMesh& pMesh = pointMesh::New(mesh);
PtrList<pointScalarField> pointScalarFields;
readFields(pMesh, objects, pointScalarFields);