Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dg
dg
Commits
0064ac2a
Commit
0064ac2a
authored
Dec 01, 2016
by
Jonathan Lambrechts
Browse files
slimParticle pre/post comp in days
parent
4eff5c0d
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/slimParticles/dgParticleTracker2D.h
View file @
0064ac2a
...
...
@@ -388,8 +388,8 @@ public:
_settleFlag
=
true
;
_settleType
=
1
;
_settRate_max
=
settleRate
;
_t_preComp
=
tPreComp
;
_t_postComp
=
tPostComp
;
_t_preComp
=
tPreComp
*
24
*
3600
;
_t_postComp
=
tPostComp
*
24
*
3600
;
_reefs
=
reefs
;
}
...
...
@@ -398,9 +398,9 @@ public:
_settleFlag
=
true
;
_settleType
=
2
;
_settRate_max
=
maxRate
;
_t_preComp
=
tPreComp
;
_t_postComp
=
tPostComp
;
_t_settMax
=
tSettleMax
;
_t_preComp
=
tPreComp
*
24
*
3600
;
_t_postComp
=
tPostComp
*
24
*
3600
;
_t_settMax
=
tSettleMax
*
24
*
3600
;
_reefs
=
reefs
;
}
...
...
@@ -411,8 +411,8 @@ public:
_compAcquisitionRate
=
1
-
pow
(
1
-
compAcquisitionRate
,
_dt
/
(
24.0
*
3600.0
));
_compLossRate
=
1
-
pow
(
1
-
compLossRate
,
_dt
/
(
24.0
*
3600.0
));
_reefs
=
reefs
;
_t_preComp
=
tPreComp
;
_t_postComp
=
tPostComp
;
_t_preComp
=
tPreComp
*
24
*
3600
;
_t_postComp
=
tPostComp
*
24
*
3600
;
}
/* type :
...
...
Write
Preview
Markdown
is supported
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