Skip to content
GitLab
Explore
Sign in
Register
This is an archived project. Repository and other project resources are read-only.
Commits on Source (1)
STYLE: avoid implicit construction
· 101a4d03
Mark OLESEN
authored
Nov 03, 2018
101a4d03
Hide whitespace changes
Inline
Side-by-side
meshLibrary/cartesian2DMesh/cartesian2DMeshGenerator/cartesian2DMeshGenerator.C
View file @
101a4d03
...
...
@@ -286,7 +286,7 @@ Foam::Module::cartesian2DMeshGenerator::cartesian2DMeshGenerator
checkMeshDict
cmd
(
meshDict_
);
}
fileName
surfaceFile
=
meshDict_
.
lookup
(
"surfaceFile"
);
fileName
surfaceFile
(
meshDict_
.
lookup
(
"surfaceFile"
)
)
;
if
(
Pstream
::
parRun
())
{
surfaceFile
=
".."
/
surfaceFile
;
...
...
meshLibrary/cartesianMesh/cartesianMeshGenerator/cartesianMeshGenerator.C
View file @
101a4d03
...
...
@@ -342,7 +342,7 @@ Foam::Module::cartesianMeshGenerator::cartesianMeshGenerator(const Time& time)
checkMeshDict
cmd
(
meshDict_
);
}
fileName
surfaceFile
=
meshDict_
.
lookup
(
"surfaceFile"
);
fileName
surfaceFile
(
meshDict_
.
lookup
(
"surfaceFile"
)
)
;
if
(
Pstream
::
parRun
())
surfaceFile
=
".."
/
surfaceFile
;
...
...
meshLibrary/tetMesh/tetMeshGenerator/tetMeshGenerator.C
View file @
101a4d03
...
...
@@ -322,7 +322,7 @@ Foam::Module::tetMeshGenerator::tetMeshGenerator(const Time& time)
checkMeshDict
cmd
(
meshDict_
);
}
const
fileName
surfaceFile
=
meshDict_
.
lookup
(
"surfaceFile"
);
const
fileName
surfaceFile
(
meshDict_
.
lookup
(
"surfaceFile"
)
)
;
surfacePtr_
=
new
triSurf
(
runTime_
.
path
()
/
surfaceFile
);
...
...
meshLibrary/voronoiMesh/voronoiMeshGenerator/voronoiMeshGenerator.C
View file @
101a4d03
...
...
@@ -385,7 +385,7 @@ Foam::Module::voronoiMeshGenerator::voronoiMeshGenerator(const Time& time)
if
(
true
)
checkMeshDict
cmd
(
meshDict_
);
const
fileName
surfaceFile
=
meshDict_
.
lookup
(
"surfaceFile"
);
const
fileName
surfaceFile
(
meshDict_
.
lookup
(
"surfaceFile"
)
)
;
surfacePtr_
=
new
triSurf
(
runTime_
.
path
()
/
surfaceFile
);
...
...