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
6c00cf87
Commit
6c00cf87
authored
Nov 07, 2011
by
andy
Browse files
STYLE: Minor code formatting
parent
6de3559b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/submodels/CloudFunctionObjects/FacePostProcessing/FacePostProcessing.C
View file @
6c00cf87
...
...
@@ -80,12 +80,12 @@ void Foam::FacePostProcessing<CloudType>::write()
const
Time
&
time
=
mesh
.
time
();
const
faceZoneMesh
&
fzm
=
mesh
.
faceZones
();
scalar
timeNew
=
time
.
value
();
scalar
timeElapsed
=
timeNew
-
timeOld_
;
scalar
timeElapsed
=
timeNew
-
timeOld_
;
totalTime_
+=
timeElapsed
;
const
scalar
alpha
=
(
totalTime_
-
timeElapsed
)
/
totalTime_
;
const
scalar
beta
=
timeElapsed
/
totalTime_
;
//correct
const
scalar
beta
=
timeElapsed
/
totalTime_
;
forAll
(
faceZoneIDs_
,
zoneI
)
{
...
...
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