Changeset 447 for experiments
- Timestamp:
- 11/27/15 01:05:57 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/foraminifera/data/scripts/foraminifera.expdef
r445 r447 75 75 SignalView.mode = 1; 76 76 World.wrldwat = 200; 77 World.wrldsiz = scale(40000);77 World.wrldsiz = micronsToFrams(40000); 78 78 World.wrldbnd = 1; 79 79 ExpParams.stress = 1; … … 94 94 //morphology 95 95 dir_change = 500; 96 ExpParams.zone1_range = scale(3000);97 ExpParams.zone2_range = scale(6000);96 ExpParams.zone1_range = micronsToFrams(3000); 97 ExpParams.zone2_range = micronsToFrams(6000); 98 98 init_chambers(); 99 ExpParams.chamber_proculus_haplo = scale(50);99 ExpParams.chamber_proculus_haplo = micronsToFrams(50); 100 100 ExpParams.chamber_difference_haplo = 0.0; 101 ExpParams.chamber_proculus_diplo = scale(20);101 ExpParams.chamber_proculus_diplo = micronsToFrams(20); 102 102 ExpParams.chamber_difference_diplo = 0.2; 103 103 max_chamber_energ = [Vector.new(), Vector.new()]; … … 125 125 126 126 //nutrients 127 ExpParams.nutrientsize = scale(10);127 ExpParams.nutrientsize = micronsToFrams(10); 128 128 ExpParams.energy_nut = 100 * Math.pow(ExpParams.nutrientsize, 3); 129 129 ExpParams.nutrientPop = 1; … … 136 136 @include "standard_placement.inc" 137 137 138 function scale(micrometers) //micrometers to framsticks world units138 function micronsToFrams(micrometers) 139 139 { 140 140 return micrometers*0.025; 141 141 } 142 142 143 function framsToMicrons(framsworldunits) //...and back ^^^143 function framsToMicrons(framsworldunits) 144 144 { 145 145 return framsworldunits/0.025;
Note: See TracChangeset
for help on using the changeset viewer.