STYLE: make polyMesh constructor explicit

- use polyMesh::defaultRegion instead of fvMesh::defaultRegion and
  others via static inheritance. (92 vs ~25 occurrences)
This commit is contained in:
Mark Olesen
2021-05-11 08:48:18 +02:00
parent 3bc8ab2839
commit 2a438385a3
23 changed files with 30 additions and 30 deletions

View File

@ -56,7 +56,7 @@ public:
// Constructors
//- Construct from IOobject
fluentFvMesh(const IOobject& io);
explicit fluentFvMesh(const IOobject& io);
// Member functions

View File

@ -59,7 +59,7 @@ int main(int argc, char *argv[])
(
IOobject
(
fluentFvMesh::defaultRegion,
polyMesh::defaultRegion,
runTime.constant(),
runTime
)