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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user