Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
f9eb16db
Commit
f9eb16db
authored
Jan 25, 2019
by
Mark OLESEN
Browse files
STYLE: remove shadow variable name
parent
c2debedd
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/finiteVolume/functionObjects/fvMeshFunctionObject/fvMeshFunctionObject.H
View file @
f9eb16db
...
...
@@ -64,18 +64,15 @@ class fvMeshFunctionObject
:
public
regionFunctionObject
{
protected:
// Protected
m
ember
d
ata
// Protected
M
ember
D
ata
//- Reference to the fvMesh
const
fvMesh
&
mesh_
;
private:
// Private Member Functions
// Protected Member Functions
//- No copy construct
fvMeshFunctionObject
(
const
fvMeshFunctionObject
&
)
=
delete
;
...
...
src/functionObjects/utilities/ensightWrite/ensightWrite.C
View file @
f9eb16db
...
...
@@ -165,8 +165,6 @@ bool Foam::functionObjects::ensightWrite::read(const dictionary& dict)
outputDir_
.
clear
();
dict
.
readIfPresent
(
"directory"
,
outputDir_
);
const
Time
&
time_
=
obr_
.
time
();
if
(
outputDir_
.
size
())
{
// User-defined output directory
...
...
@@ -195,23 +193,21 @@ bool Foam::functionObjects::ensightWrite::execute()
bool
Foam
::
functionObjects
::
ensightWrite
::
write
()
{
const
Time
&
t
=
obr_
.
time
();
if
(
!
ensCase_
.
valid
())
{
ensCase_
.
reset
(
new
ensightCase
(
outputDir_
,
t
.
globalCaseName
(),
caseOpts_
)
new
ensightCase
(
outputDir_
,
t
ime_
.
globalCaseName
(),
caseOpts_
)
);
}
if
(
consecutive_
)
{
ensCase
().
nextTime
(
t
.
value
());
ensCase
().
nextTime
(
t
ime_
.
value
());
}
else
{
ensCase
().
setTime
(
t
.
value
(),
t
.
timeIndex
());
ensCase
().
setTime
(
t
ime_
.
value
(),
t
ime_
.
timeIndex
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment