Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SimAquaLife
GR3D
Commits
0576f6d8
Commit
0576f6d8
authored
Jul 02, 2020
by
Lambert Patrick
Browse files
typing correction
parent
9a41aa32
Changes
2
Hide whitespace changes
Inline
Side-by-side
data/input/atlanticarea/fishTryRealBV_CC.xml
View file @
0576f6d8
...
...
@@ -297,8 +297,7 @@
<initialLength>
2.0
</initialLength>
<sigmaRecruitment>
0.2
</sigmaRecruitment>
<survivalRateAfterReproduction>
0.1
</survivalRateAfterReproduction>
<maxNumberOfSuperIndividualPerReproduction>
500.0
</maxNumberOfSuperIndividualPerReproduction>
<maxNumberOfSuperIndividualPerReproduction>
500.0
</maxNumberOfSuperIndividualPerReproduction>
<withDiagnose>
false
</withDiagnose>
<displayFluxesOnConsole>
false
</displayFluxesOnConsole>
</species.ReproduceAndSurviveAfterReproductionWithDiagnose>
...
...
src/main/java/species/ReproduceAndSurviveAfterReproductionWithDiagnose.java
View file @
0576f6d8
...
...
@@ -158,13 +158,7 @@ public class ReproduceAndSurviveAfterReproductionWithDiagnose extends AquaNismsG
// Initiate the total fluxes for this basin
Map
<
SpawnerOrigin
,
Map
<
String
,
Double
>>
totalInputFluxes
=
new
Hashtable
<
SpawnerOrigin
,
Map
<
String
,
Double
>>();
// On
// cr�er
// la
// Map
// pour
// stocker
// les
// flux
// cr�er la map pour stock les flux
totalInputFluxes
.
put
(
SpawnerOrigin
.
AUTOCHTONOUS
,
new
Hashtable
<
String
,
Double
>());
totalInputFluxes
.
put
(
SpawnerOrigin
.
ALLOCHTONOUS
,
new
Hashtable
<
String
,
Double
>());
for
(
SpawnerOrigin
origin
:
totalInputFluxes
.
keySet
())
{
...
...
@@ -443,9 +437,12 @@ public class ReproduceAndSurviveAfterReproductionWithDiagnose extends AquaNismsG
long
numberOfFemaleRecruit
=
Math
.
round
(
numberOfRecruit
*
proportionOfFemaleAtBirth
);
long
numberOfMaleRecruit
=
numberOfRecruit
-
numberOfFemaleRecruit
;
System
.
out
.
println
(
group
.
getPilot
().
getCurrentTime
()
+
" "
+
time
.
getSeason
(
group
.
getPilot
())
+
" "
+
riverBasin
.
getName
()
+
": "
+
numberOfFemaleRecruit
+
" females \tgive "
+
numberOfRecruit
+
" recruits from a mean of "
+
meanNumberOfRecruit
);
/*
* System.out.println(group.getPilot().getCurrentTime() + " " +
* time.getSeason(group.getPilot()) + " " + riverBasin.getName() + ": " + numberOfFemaleRecruit
* + " females \tgive " + numberOfRecruit + " recruits from a mean of " + meanNumberOfRecruit);
* System.out.println(stockRecruitmentRelationship.getEffectiveStock(numberOfFemaleRecruit));
*/
// ----------------------------------------------
// keep information when reproduction
...
...
@@ -652,9 +649,9 @@ public class ReproduceAndSurviveAfterReproductionWithDiagnose extends AquaNismsG
transient
double
log19
;
/**
*
the value of the stock for which 50% partipate to th
e
r
ep
roduction
*
sum of mortality coefficient (use to calculat
e
d
ep
ensatory trap)
*
* @unit
# of individuals
* @unit
time-1
*/
double
sigmaZ
;
//
...
...
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