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

@ -663,7 +663,7 @@ bool Foam::functionObjects::streamLineBase::writeToFile()
(
time_.globalPath()/functionObject::outputPrefix/"sets"/name()
);
if (mesh_.name() != fvMesh::defaultRegion)
if (mesh_.name() != polyMesh::defaultRegion)
{
vtkPath = vtkPath/mesh_.name();
}