ENH: Refactored creation of simplified meshes for -dry-run operation

TODO: migrate singleCellFvMesh into simplified mesh framework (?)
This commit is contained in:
Andrew Heather
2018-06-11 12:42:09 +01:00
parent 0643a2a941
commit 4e8fd19d3d
26 changed files with 626 additions and 139 deletions

View File

@ -1,18 +1,6 @@
Info<< "Create mesh for time = "
<< runTime.timeName() << nl << endl;
Info<< "Create mesh for time = "
<< runTime.timeName() << nl << endl;
autoPtr<dynamicFvMesh> meshPtr
(
dynamicFvMesh::New
(
IOobject
(
dynamicFvMesh::defaultRegion,
runTime.timeName(),
runTime,
IOobject::MUST_READ
)
)
);
autoPtr<dynamicFvMesh> meshPtr(dynamicFvMesh::New(args, runTime));
dynamicFvMesh& mesh = meshPtr();
dynamicFvMesh& mesh = meshPtr();