Get wavelength of light
!> is for documentation that appears before the thing you're documenting
(https://forddocs.readthedocs.io/en/stable/user_guide/project_file_options.html#predocmark).
!! is for documentation that appears after the thing you're documenting
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=dp), | public, | parameter | :: | speed_of_light | = | 2.99792e8_dp | Speed of light [m/s] |
Get wavelength of light for a given frequency
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(in) | :: | frequency | Frequency |
Corresponding wavelength