The AHA Model
Revision: 12809
Reference implementation 04 (HEDG02_04)
|
Logical function to check if a value is within a specific range, lower <= X <= upper. More...
Public Member Functions | |
elemental logical function | is_within_r (x, lower, upper) |
Logical function to check if a value is within a specific range, lower <= X <= upper. The reverse (upper <= x <= lower) range limits can also be used; a corrective adjustment is automatically made. More... | |
elemental logical function | is_within_i (x, lower, upper) |
Logical function to check if a value is within a specific range, lower <= X <= upper. The reverse (upper <= x <= lower) range limits can also be used; a corrective adjustment is automatically made. More... | |
Logical function to check if a value is within a specific range, lower <= X <= upper.
.within.
. Definition at line 5362 of file m_common.f90.
elemental logical function commondata::is_within::is_within_r | ( | real(srp), intent(in) | x, |
real(srp), intent(in) | lower, | ||
real(srp), intent(in) | upper | ||
) |
Logical function to check if a value is within a specific range, lower <= X <= upper. The reverse (upper <= x <= lower) range limits can also be used; a corrective adjustment is automatically made.
.within.
. [in] | x | the value to test |
[in] | lower | the lower limit for the range tested. |
[in] | upper | the upper limit of the range tested. |
x
lies within [lower,upper] and FALSE otherwise. Definition at line 5831 of file m_common.f90.
elemental logical function commondata::is_within::is_within_i | ( | integer, intent(in) | x, |
integer, intent(in) | lower, | ||
integer, intent(in) | upper | ||
) |
Logical function to check if a value is within a specific range, lower <= X <= upper. The reverse (upper <= x <= lower) range limits can also be used; a corrective adjustment is automatically made.
.within.
. [in] | x | the value to test |
[in] | lower | the lower limit for the range tested. |
[in] | upper | the upper limit of the range tested. |
x
lies within [lower,upper] and FALSE otherwise. Definition at line 5868 of file m_common.f90.