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

Convert m to cm. More...

Collaboration diagram for commondata::m2cm:

Public Member Functions

elemental real(srp) function m2cm_r (value_m)
 Convert m to cm. More...
 
elemental real(hrp) function m2cm_hr (value_m)
 Convert m to cm. More...
 
elemental real(srp) function m2cm_i (value_m)
 Convert m to cm. More...
 

Detailed Description

Convert m to cm.

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. Therefore, conversion back from visual range function should use these functions.

Definition at line 5319 of file m_common.f90.

Member Function/Subroutine Documentation

◆ m2cm_r()

elemental real(srp) function commondata::m2cm::m2cm_r ( real(srp), intent(in)  value_m)

Convert m to cm.

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

Definition at line 5592 of file m_common.f90.

◆ m2cm_hr()

elemental real(hrp) function commondata::m2cm::m2cm_hr ( real(hrp), intent(in)  value_m)

Convert m to cm.

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

Definition at line 5606 of file m_common.f90.

◆ m2cm_i()

elemental real(srp) function commondata::m2cm::m2cm_i ( integer, intent(in)  value_m)

Convert m to cm.

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

Definition at line 5620 of file m_common.f90.


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