Changeset 416 for experiments/frams/foraminifera/data/scripts
- Timestamp:
- 07/14/15 01:00:27 (9 years ago)
- Location:
- experiments/frams/foraminifera/data/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/foraminifera/data/scripts/foraminifera.expdef
r411 r416 127 127 cr.name = "Initial creature" + i; 128 128 placeCreatureRandomly(cr, 0, 0); 129 cr.energ 0 = ExpParams.v_min_h - ExpParams.repro_thr;130 cr.energy = cr.energ 0;129 cr.energy0 = ExpParams.v_min_h - ExpParams.repro_thr; 130 cr.energy = cr.energy0; 131 131 cr.user1 = {"vamin" : ExpParams.v_min_h, "amin": ExpParams.age_min_h}; 132 132 cr.user2 = {"Va" : ExpParams.v_min_h - ExpParams.repro_thr, "gen" : 0, "growth_step" : ExpParams.growth_step, "rsize" : ExpParams.rads[0], "vinit" : ExpParams.v_min_h - ExpParams.repro_thr}; … … 366 366 cr.name = "Food"; 367 367 cr.idleen = 0; 368 cr.energ 0 = ExpParams.feede0;369 cr.energy = cr.energ 0;368 cr.energy0 = ExpParams.feede0; 369 cr.energy = cr.energy0; 370 370 cr.signals.add("food"); 371 371 -
experiments/frams/foraminifera/data/scripts/foraminifera.inc
r406 r416 83 83 { 84 84 var cr = Populations[0].add(geno); 85 cr.energ 0 = energy;86 cr.energy = cr.energ 0;85 cr.energy0 = energy; 86 cr.energy = cr.energy0; 87 87 setGenotype(cr, new_user1, new_user2); 88 88 placeRandomlyNotColliding(cr);
Note: See TracChangeset
for help on using the changeset viewer.