The AHA Model
Revision: 12809
Reference implementation 04 (HEDG02_04)
|
Calculate visual range of predator using Dag Aksnes's procedures srgetr()
, easyr()
and deriv()
.
More...
Public Member Functions | |
elemental real(srp) function | visual_range_fast (irradiance, prey_area, prey_contrast) |
Wrapper for calculating visual range of a fish predator using the Dag Aksnes's procedures srgetr() , easyr() and deriv() . This is a new elemental and parallel-ready visual range function wrapper making use the elemental-procedures based computational backend. See notes on visual_range_scalar() and srgetr() for computational details. More... | |
Calculate visual range of predator using Dag Aksnes's procedures srgetr()
, easyr()
and deriv()
.
visual_range
, it is this name which is used throughout the code. prey_contrast
to the vector-based function call must be an scalar. Otherwise a segmentation fault runtime error results. Vector-based call is analogous to calling visual_range_vector()
with prey_contrast_vect
parameter. elemental real(srp) function the_environment::visual_range_new::visual_range_fast | ( | real(srp), intent(in) | irradiance, |
real(srp), intent(in), optional | prey_area, | ||
real(srp), intent(in), optional | prey_contrast | ||
) |
Wrapper for calculating visual range of a fish predator using the Dag Aksnes's procedures srgetr()
, easyr()
and deriv()
. This is a new elemental and parallel-ready visual range function wrapper making use the elemental-procedures based computational backend. See notes on visual_range_scalar()
and srgetr()
for computational details.
[in] | irradiance | background irradiance at specific depth |
[in] | prey_area | prey area, m^2 |
[in] | prey_contrast | optional prey inherent contrast or default parameter if not present. |
MAX_LOG
non-whale size limit. Use the non-elemental version whenever debugging or logging is required! The parameter prey_contrast
to the vector-based function call must be an scalar. Otherwise a segmentation fault runtime error results. Vector-based call is analogous to calling visual_range_vector
with prey_contrast_vect
parameter.See specific implementations:
Definition at line 5009 of file m_env.f90.