FishMet: Fish feeding and appetite model, OPEN EDITION
0.1
FishMet: Fish feeding and appetite model, OPEN EDITION
|
Function for calculating specific growth rate. More...
Public Member Functions | |
elemental real(srp) function | sgr_r (weight1, weight2, time1, time2) |
Calculates specific growth rate following Houde & Schekter (1981): More... | |
elemental real(srp) function | sgr_i (weight1, weight2, time1, time2, time_unit) |
Calculates specific growth rate following Houde & Schekter (1981): More... | |
pure real(srp) function, dimension(:), allocatable | sgr_blockrate (inarray, rate_unit, time_unit) |
Calculate an array of specific growth rate rate values based on simple block data,. More... | |
Function for calculating specific growth rate.
Definition at line 811 of file m_common.f90.
elemental real(srp) function commondata::sgr::sgr_r | ( | real(srp), intent(in) | weight1, |
real(srp), intent(in) | weight2, | ||
real(srp), intent(in) | time1, | ||
real(srp), intent(in) | time2 | ||
) |
Calculates specific growth rate following Houde & Schekter (1981):
[in] | weight1 | Body weight at start of the time interval |
[in] | weight2 | Body weight at the end of the time interval |
[in] | time1 | Time at the start of the time interval |
[in] | time2 | Time at the end of the time interval |
Definition at line 1942 of file m_common.f90.
elemental real(srp) function commondata::sgr::sgr_i | ( | real(srp), intent(in) | weight1, |
real(srp), intent(in) | weight2, | ||
integer, intent(in) | time1, | ||
integer, intent(in) | time2, | ||
integer, intent(in), optional | time_unit | ||
) |
Calculates specific growth rate following Houde & Schekter (1981):
is_convert_min
(optional) parameter is useful to convert the time step data (s) to min. [in] | weight1 | Body weight at start of the time interval |
[in] | weight2 | Body weight at the end of the time interval |
[in] | time1 | Time at the start of the time interval |
[in] | time2 | Time at the end of the time interval |
[in] | time_unit | If the two time parameters time1 and time2 are provided in raw model time units (s), this parameter allows to rescale these raw units to commondata::minute or commondata::hour. |
time_unit
parameter should be set to default value or out of normal range (e.g. -1). Then the rate unit will use the same time scale as time1
and time2
. Notably, this should ber done if the times are given in commondata::hour. Definition at line 1963 of file m_common.f90.
pure real(srp) function, dimension(:), allocatable commondata::sgr::sgr_blockrate | ( | real(srp), dimension(:), intent(in) | inarray, |
integer, intent(in), optional | rate_unit, | ||
integer, intent(in), optional | time_unit | ||
) |
Calculate an array of specific growth rate rate values based on simple block data,.
[in] | inarray | Input Output_Arrays array (real ::srp type) |
[in] | rate_unit | Optional rate parameter, the rate is calculated per this number of seconds, the default is per minute |
[in] | time_unit | Logical flag determining if time in s should be converted to min |
Definition at line 1518 of file m_common.f90.