ENH: use typedef for MeshObject within derived classes

- use an internal 'typedef MeshObject<...> MeshObject_type' within
  derived classes. Reduces clutter and eases any updates.
This commit is contained in:
Mark Olesen
2024-04-11 13:02:15 +02:00
parent 1b212789e5
commit a803516b16
71 changed files with 538 additions and 268 deletions

View File

@ -166,7 +166,7 @@ Foam::refPtr<Foam::cellList> Foam::manifoldCellsMeshObject::filter
Foam::manifoldCellsMeshObject::manifoldCellsMeshObject(const polyMesh& mesh)
:
MeshObject<polyMesh, UpdateableMeshObject, manifoldCellsMeshObject>(mesh),
MeshObject_type(mesh),
cellsPtr_(nullptr),
nCorrected_(-1)
{}