The AHA Model  Revision: 12809
Reference implementation 04 (HEDG02_04)
commondata::cm2m Interface Reference

Convert cm to m. More...

Collaboration diagram for commondata::cm2m:

Public Member Functions

elemental real(srp) function cm2m_r (value_cm)
 Convert cm to m. More...
 
elemental real(hrp) function cm2m_hr (value_cm)
 Convert cm to m. More...
 
elemental real(srp) function cm2m_i (value_cm)
 Convert cm to m. More...
 

Detailed Description

Convert cm to m.

This is needed because some of the the sizes are expressed in cm but certain functions (e.g. visual range estimator SRGETR) require parameters in m. E.g. FOOD_ITEM_SIZE_DEFAULT is set around 0.5 cm while SRGETR requires prey area in m².

Definition at line 5306 of file m_common.f90.

Member Function/Subroutine Documentation

◆ cm2m_r()

elemental real(srp) function commondata::cm2m::cm2m_r ( real(srp), intent(in)  value_cm)

Convert cm to m.

Parameters
value_cmvalue in cm
Returns
value in m
Note
This version gets real type argument.

This is needed because some of the the sizes are expressed in cm but certain functions (e.g. visual range estimator SRGETR) require parameters in m. E.g. FOOD_ITEM_SIZE_DEFAULT is set around 0.5 cm while SRGETR requires prey area in m².

Definition at line 5550 of file m_common.f90.

◆ cm2m_hr()

elemental real(hrp) function commondata::cm2m::cm2m_hr ( real(hrp), intent(in)  value_cm)

Convert cm to m.

Parameters
value_cmvalue in cm
Returns
value in m
Note
This version uses the high HRP numerical precision model.

Definition at line 5564 of file m_common.f90.

◆ cm2m_i()

elemental real(srp) function commondata::cm2m::cm2m_i ( integer, intent(in)  value_cm)

Convert cm to m.

Returns
value in m
Parameters
value_cmvalue in cm
Note
This version gets integer argument (albeit returns real).

Definition at line 5578 of file m_common.f90.


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