DaylengthMod Module



Functions

public elemental function daylength(lat, decl)

Arguments

Type IntentOptional Attributes Name
real(kind=r8), intent(in) :: lat
real(kind=r8), intent(in) :: decl

Return Value real(kind=r8)


Subroutines

public subroutine ComputeMaxDaylength(bounds, lat, obliquity, max_daylength)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds
real(kind=r8), intent(in) :: lat(bounds%begg:)
real(kind=r8), intent(in) :: obliquity
real(kind=r8), intent(out) :: max_daylength(bounds%begg:)

public subroutine InitDaylength(bounds, declin, declinm1, obliquity)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds
real(kind=r8), intent(in) :: declin
real(kind=r8), intent(in) :: declinm1
real(kind=r8), intent(in) :: obliquity

public subroutine UpdateDaylength(bounds, declin, obliquity)

Arguments

Type IntentOptional Attributes Name
type(bounds_type), intent(in) :: bounds
real(kind=r8), intent(in) :: declin
real(kind=r8), intent(in) :: obliquity