Skip to content
Snippets Groups Projects
Commit 1ab7bdce authored by mattijs's avatar mattijs
Browse files

new pointMesh allocation method

parent 908e8fd3
No related merge requests found
......@@ -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());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment