Physical/mathematical constants shared across the library: and the imaginary unit , both at dp precision so every expression built from them (spherical harmonics, VSH, coupling coefficients) stays in double precision without repeated literal casts.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| complex(kind=dp), | public, | parameter | :: | j | = | (0, 1) |
Imaginary unit , double-precision complex. |
| real(kind=dp), | public, | parameter | :: | pi | = | 3.14159265358979324d0 |
, double precision. |