Changeset 1098 for experiments/frams/foraminifera
- Timestamp:
- 03/05/21 18:46:22 (4 years ago)
- Location:
- experiments/frams/foraminifera/data/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/foraminifera/data/scripts/foraminifera.expdef
r1097 r1098 988 988 989 989 property: 990 id:print_output 991 name:Print messages 992 help:Print messages on evolution progress. 993 group:Extras 994 type:d 0 1 0 995 996 property: 990 997 id:visualize 991 998 name:Show reticulopodia and nutrients -
experiments/frams/foraminifera/data/scripts/foraminifera.inc
r1074 r1098 51 51 52 52 var dict = {"Time": Simulator.stepNumber, "FromIDs": mode->parentsuids, "ID": new_id, "Inherited": inherit, "Operation": oper, "Kind" : mode->gen}; 53 Simulator.print("[OFFSPRING] " + String.serialize(dict)); 53 if (ExpProperties.print_output == 1) 54 Simulator.print("[OFFSPRING] " + String.serialize(dict)); 54 55 } 55 56 } … … 284 285 function print_repro_info(cr) 285 286 { 286 Simulator.print("Reproduced " + cr.data->lifeparams->gen + " of species " + cr.data->lifeparams->species + " energy: " + cr.energy); 287 } 287 if (ExpProperties.structured_output == 1) 288 Simulator.print("Reproduced " + cr.data->lifeparams->gen + " of species " + cr.data->lifeparams->species + " energy: " + cr.energy); 289 }
Note: See TracChangeset
for help on using the changeset viewer.