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

@ -89,7 +89,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
wordList regionNames(1, fvMesh::defaultRegion);
wordList regionNames(1, polyMesh::defaultRegion);
if (!args.readIfPresent("region", regionNames.first()))
{
args.readIfPresent("regions", regionNames);