FishMet: Fish feeding and appetite model, OPEN EDITION
0.1
FishMet: Fish feeding and appetite model, OPEN EDITION
|
Force a value within the range set by the vmin and vmax dummy parameter values. More...
Public Member Functions | |
elemental integer function | within_i (value_in, vmin, vmax) |
Force a value within the range set by the vmin and vmax dummy parameter values. If the value is within the range, it does not change, if it falls outside, the output force value is obtained as min( max( value, FORCE_MIN ), FORCE_MAX ) More... | |
elemental real(srp) function | within_r (value_in, vmin, vmax) |
Force a value within the range set by the vmin and vmax dummy parameter values. If the value is within the range, it does not change, if it falls outside, the output force value is obtained as min( max( value, FORCE_MIN ), FORCE_MAX ) More... | |
Force a value within the range set by the vmin and vmax dummy parameter values.
Definition at line 819 of file m_common.f90.
elemental integer function commondata::within::within_i | ( | integer, intent(in) | value_in, |
integer, intent(in), optional | vmin, | ||
integer, intent(in) | vmax | ||
) |
Force a value within the range set by the vmin and vmax dummy parameter values. If the value is within the range, it does not change, if it falls outside, the output force value is obtained as min( max( value, FORCE_MIN ), FORCE_MAX )
[in] | value_in | Input value for forcing transformation. |
[in] | vmin | minimum value of the force-to range (lower limit), if not present, a lower limit of 0.0 is used. |
[in] | vmax | maximum value of the force-to range (upper limit) |
within
function. Definition at line 1758 of file m_common.f90.
elemental real(srp) function commondata::within::within_r | ( | real(srp), intent(in) | value_in, |
real(srp), intent(in), optional | vmin, | ||
real(srp), intent(in) | vmax | ||
) |
Force a value within the range set by the vmin and vmax dummy parameter values. If the value is within the range, it does not change, if it falls outside, the output force value is obtained as min( max( value, FORCE_MIN ), FORCE_MAX )
[in] | value_in | Input value for forcing transformation. |
[in] | vmin | minimum value of the force-to range (lower limit), if not present, a lower limit of 0.0 is used. |
[in] | vmax | maximum value of the force-to range (upper limit) |
within
function. Definition at line 1726 of file m_common.f90.