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
960d5e9c
Commit
960d5e9c
authored
Dec 01, 2016
by
Jonathan Lambrechts
Browse files
slimParticle : default value for settlingOverWhichReef
parent
0064ac2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/slimParticles/dgParticleTracker2D.h
View file @
960d5e9c
...
...
@@ -335,7 +335,7 @@ public:
_swimFlag
=
false
;
_connectivityExposureTimeFlag
=
false
;
_windFlag
=
false
;
_settleOverWhichReefType
=
0
;
_settleOverWhichReefType
=
2
;
//Load model:
_neighbourMap
=
new
dgNeighbourMap
(
*
_group
);
...
...
@@ -416,9 +416,9 @@ public:
}
/* type :
* 0: all reefs
* 1: only
shallow
reefs (ie with idx
<
nbShallowReefs)
* 2:
only deep reefs (ie with idx > nbShallowReefs)
* 0:
only sh
all
ow
reefs
(ie with idx < nbShallowReefs)
* 1: only
deep
reefs (ie with idx
>
nbShallowReefs)
* 2:
all reefs
*/
void
setSettlingOverWhichReefs
(
int
type
,
int
nbShallowReefs
)
{
_settleOverWhichReefType
=
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