colinsheppard/instream — Issue #37: Add new optional output: AllFishReport
Author: SFRailsback
Created: 2011-11-18 23:59:20+00:00
State: open

Add new optional output file that reports the state of each fish.

The code to write the file lines is in a temporary version on Steve's laptop Linux at:
SwarmApps2.2.5/inSTREAM_4.2.2_AllFishOut/TroutModelSwarm.hm.
It requires:
a) Adding a unique integer ID to each fish, (done; new IVar in Trout.h; new fish counter and assignment in TroutModelSwarm.m createNewFishWith...)
b) Optional (IFDEF) statements to open and write to the file: see model swarm method printAllFishReport

Still to do: create separate file open method that writes header information to file and decides whether it should be overwritten and appended; can use openReddSummaryFilePtr as a template.
Add to documentation.