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

@ -51,6 +51,29 @@ Foam::dynamicMotionSolverFvMesh::dynamicMotionSolverFvMesh(const IOobject& io)
{}
Foam::dynamicMotionSolverFvMesh::dynamicMotionSolverFvMesh
(
const IOobject& io,
pointField&& points,
faceList&& faces,
labelList&& allOwner,
labelList&& allNeighbour,
const bool syncPar
)
:
dynamicFvMesh
(
io,
std::move(points),
std::move(faces),
std::move(allOwner),
std::move(allNeighbour),
syncPar
),
motionPtr_(motionSolver::New(*this))
{}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
Foam::dynamicMotionSolverFvMesh::~dynamicMotionSolverFvMesh()