Skip to content
GitLab
Menu
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
48212805
Commit
48212805
authored
Oct 24, 2011
by
mattijs
Browse files
STYLE: streamLine.C: extraneous cast.
parent
00bca478
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/postProcessing/functionObjects/field/streamLine/streamLine.C
View file @
48212805
...
...
@@ -43,7 +43,7 @@ defineTypeNameAndDebug(Foam::streamLine, 0);
void
Foam
::
streamLine
::
track
()
{
const
Time
&
runTime
=
const_cast
<
Time
&>
(
obr_
.
time
()
)
;
const
Time
&
runTime
=
obr_
.
time
();
const
fvMesh
&
mesh
=
dynamic_cast
<
const
fvMesh
&>
(
obr_
);
IDLList
<
streamLineParticle
>
initialParticles
;
...
...
@@ -383,7 +383,7 @@ void Foam::streamLine::read(const dictionary& dict)
void
Foam
::
streamLine
::
execute
()
{
// const Time& runTime =
const_cast<Time&>(
obr_.time()
)
;
// const Time& runTime = obr_.time();
// Pout<< "**streamLine::execute : time:" << runTime.timeName() << endl;
//
// bool isOutputTime = false;
...
...
@@ -418,15 +418,14 @@ void Foam::streamLine::execute()
void
Foam
::
streamLine
::
end
()
{
}
{}
void
Foam
::
streamLine
::
write
()
{
if
(
active_
)
{
const
Time
&
runTime
=
const_cast
<
Time
&>
(
obr_
.
time
()
)
;
const
Time
&
runTime
=
obr_
.
time
();
const
fvMesh
&
mesh
=
dynamic_cast
<
const
fvMesh
&>
(
obr_
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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