Gadget
readaggregation.h
Go to the documentation of this file.
1 #ifndef readaggregation_h
2 #define readaggregation_h
3 
4 #include "commentstream.h"
5 #include "intmatrix.h"
6 #include "doublematrix.h"
7 #include "charptrmatrix.h"
8 #include "formulamatrix.h"
9 
17 int readAggregation(CommentStream& infile, IntMatrix& agg, CharPtrVector& aggindex);
25 int readAggregation(CommentStream& infile, IntVector& agg, CharPtrVector& aggindex);
33 int readLengthAggregation(CommentStream& infile, DoubleVector& lengths, CharPtrVector& lenindex);
44 int readPreyAggregation(CommentStream& infile, CharPtrMatrix& preynames, DoubleMatrix& preylengths,
45  FormulaMatrix& digestioncoeff, CharPtrVector& preyindex, Keeper* const keeper);
46 
47 #endif
This class implements a dynamic vector of CharPtrVector values.
Definition: charptrmatrix.h:11
This class implements a dynamic vector of char values.
Definition: charptrvector.h:8
This is the class used to strip comments (and whitespace) from any input stream.
Definition: commentstream.h:40
This class implements a dynamic vector of DoubleVector values.
Definition: doublematrix.h:11
This class implements a dynamic vector of double values.
Definition: doublevector.h:11
This class implements a dynamic vector of FormulaVector values.
Definition: formulamatrix.h:11
This class implements a dynamic vector of IntVector values.
Definition: intmatrix.h:10
This class implements a dynamic vector of int values.
Definition: intvector.h:11
This is the class used to store information about the variables that are used in model simulation.
Definition: keeper.h:17
int readLengthAggregation(CommentStream &infile, DoubleVector &lengths, CharPtrVector &lenindex)
This is the function that will read length aggregation data from a file.
Definition: readaggregation.cc:74
int readAggregation(CommentStream &infile, IntMatrix &agg, CharPtrVector &aggindex)
This is the function that will read aggregation data from a file into a matrix.
Definition: readaggregation.cc:7
int readPreyAggregation(CommentStream &infile, CharPtrMatrix &preynames, DoubleMatrix &preylengths, FormulaMatrix &digestioncoeff, CharPtrVector &preyindex, Keeper *const keeper)
This is the function that will read prey aggregation data from a file.
Definition: readaggregation.cc:108