FishMet: Fish feeding and appetite model, OPEN EDITION  0.1
FishMet: Fish feeding and appetite model, OPEN EDITION
the_fish::stress_factor Interface Reference

Calculate stress pattern based on cubic spline interpolation over the grid defined by commondata::global_stress_factor_hour and commondata::global_stress_fact_suppress. More...

Collaboration diagram for the_fish::stress_factor:

Public Member Functions

pure real(srp) function stress_suppress_factor_s (time_step_incr, is_force)
 Calculate suppression factor for appetite caused by stress intervention at time time: generic interface is ::stress_factor(). This is the scalar version, vector -based version is stress_suppress_factor_v(). More...
 
pure real(srp) function, dimension(:), allocatable stress_suppress_factor_v (time_step_incr, is_force)
 Vector-based version of the stress-based suppression function ::stress_factor(). There is a scalar version of the same function stress_suppress_factor_s. More...
 

Detailed Description

Calculate stress pattern based on cubic spline interpolation over the grid defined by commondata::global_stress_factor_hour and commondata::global_stress_fact_suppress.

Definition at line 94 of file m_fish.f90.

Member Function/Subroutine Documentation

◆ stress_suppress_factor_s()

pure real(srp) function the_fish::stress_factor::stress_suppress_factor_s ( integer, intent(in)  time_step_incr,
logical, intent(in), optional  is_force 
)

Calculate suppression factor for appetite caused by stress intervention at time time: generic interface is ::stress_factor(). This is the scalar version, vector -based version is stress_suppress_factor_v().

   +**
 F |  ***
   |    **
   +-------*--
           ^ time_step_incr
          A-F
Parameters
[in]time_step_incrTime step increment from the moment stress intervention has occurred
[in]is_forceoptional flag to force calculation of the function even if stress is disabled

Definition at line 2213 of file m_fish.f90.

◆ stress_suppress_factor_v()

pure real(srp) function, dimension(:), allocatable the_fish::stress_factor::stress_suppress_factor_v ( integer, dimension(:), intent(in)  time_step_incr,
logical, intent(in), optional  is_force 
)

Vector-based version of the stress-based suppression function ::stress_factor(). There is a scalar version of the same function stress_suppress_factor_s.

Parameters
[in]time_step_incrTime step increment from the moment stress intervention has occurred
[in]is_forceoptional flag to force calculation of the function even if stress is disabled

Definition at line 2243 of file m_fish.f90.


The documentation for this interface was generated from the following file: