m_get_wavelength Module

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


Uses

  • module~~m_get_wavelength~~UsesGraph module~m_get_wavelength m_get_wavelength module~kind_parameters kind_parameters module~m_get_wavelength->module~kind_parameters

Used by

  • module~~m_get_wavelength~~UsedByGraph module~m_get_wavelength m_get_wavelength module~m_get_wavelength_w m_get_wavelength_w module~m_get_wavelength_w->module~m_get_wavelength

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=dp), public, parameter:: speed_of_light =2.99792e8_dp

Speed of light [m/s]


Functions

public pure function get_wavelength(frequency) result(wavelength)

Get wavelength of light for a given frequency

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: frequency

Frequency

Return Value real(kind=dp)

Corresponding wavelength