\file SELF_SupportRoutines.f90 Contains the \ref SELF_SupportRoutines module \defgroup SELF_SupportRoutines SELF_SupportRoutines This module defines a set of general purpose routines.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=prec), | private, | parameter | :: | tolerance | = | 10.0**(-10) |
\addtogroup SELF_SupportRoutines @{ \fn AlmostEqual Compares two floating point numbers and determines if they are equal (to machine precision).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64) | :: | a | ||||
real(kind=real64) | :: | b |
\addtogroup SELF_SupportRoutines @{ \fn AlmostEqual Compares two floating point numbers and determines if they are equal (to machine precision).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64) | :: | a | ||||
real(kind=real64) | :: | b |
\addtogroup SELF_SupportRoutines @{ \fn CompareArray Compares to INTEGER arrays and determines if they are identical.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer | :: | arrayOne(1:N) | ||||
integer | :: | arrayTwo(1:N) | ||||
integer | :: | N |
\addtogroup SELF_SupportRoutines @{ \fn UniformPoints Generates a REAL(prec) array of N points evenly spaced between two points.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=prec) | :: | a | ||||
real(kind=prec) | :: | b | ||||
integer | :: | firstInd | ||||
integer | :: | lastInd |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character, | intent(in) | :: | str |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out), | optional | :: | unit |
\addtogroup SELF_SupportRoutines @{ \fn ForwardShift Shift an array integers by one index forward, moving the last index to the first.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(inout) | :: | myArray(1:N) | |||
integer, | intent(in) | :: | N |