Gadget
Classes | Functions
lengthgroup.h File Reference
#include "doublevector.h"
Include dependency graph for lengthgroup.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LengthGroupDivision
 This is the class used to store information about the length groups of the modelled stock population. More...
 

Functions

int checkLengthGroupStructure (const LengthGroupDivision *finer, const LengthGroupDivision *coarser)
 This is the function that will check whether one LengthGroupDivision has length groups that are finer than a second LengthGroupDivision, and print an error if this is not the case. More...
 

Function Documentation

◆ checkLengthGroupStructure()

int checkLengthGroupStructure ( const LengthGroupDivision finer,
const LengthGroupDivision coarser 
)

This is the function that will check whether one LengthGroupDivision has length groups that are finer than a second LengthGroupDivision, and print an error if this is not the case.

Parameters
fineris the LengthGroupDivision that should be on a finer scale
coarseris the LengthGroupDivision that should be on a coarser scale
Returns
1 if the structure of the LengthGroupDivision objects are compatible, 0 otherwise