new pointMesh allocation method

This commit is contained in:
mattijs 2009-01-28 16:05:32 +00:00
parent 908e8fd36f
commit 1ab7bdce12

View File

@ -276,7 +276,7 @@ int main(int argc, char *argv[])
// Read point fields and subset
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pointMesh pMesh(mesh);
const pointMesh& pMesh = pointMesh::New(mesh);
wordList pointScalarNames(objects.names(pointScalarField::typeName));
PtrList<pointScalarField> pointScalarFlds(pointScalarNames.size());