mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user