mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
new pointMesh allocation method
This commit is contained in:
@ -276,7 +276,7 @@ int main(int argc, char *argv[])
|
|||||||
// Read point fields and subset
|
// Read point fields and subset
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
pointMesh pMesh(mesh);
|
const pointMesh& pMesh = pointMesh::New(mesh);
|
||||||
|
|
||||||
wordList pointScalarNames(objects.names(pointScalarField::typeName));
|
wordList pointScalarNames(objects.names(pointScalarField::typeName));
|
||||||
PtrList<pointScalarField> pointScalarFlds(pointScalarNames.size());
|
PtrList<pointScalarField> pointScalarFlds(pointScalarNames.size());
|
||||||
|
|||||||
Reference in New Issue
Block a user