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

@ -219,14 +219,14 @@ int main(int argc, char *argv[])
const fileName caseDirSource = casePath.name();
Info<< "Source: " << rootDirSource << " " << caseDirSource << endl;
word sourceRegion = fvMesh::defaultRegion;
word sourceRegion = polyMesh::defaultRegion;
if (args.readIfPresent("sourceRegion", sourceRegion))
{
Info<< "Source region: " << sourceRegion << endl;
}
Info<< "Target: " << rootDirTarget << " " << caseDirTarget << endl;
word targetRegion = fvMesh::defaultRegion;
word targetRegion = polyMesh::defaultRegion;
if (args.readIfPresent("targetRegion", targetRegion))
{
Info<< "Target region: " << targetRegion << endl;