modthermodynamics Module


Used by

  • module~~modthermodynamics~~UsedByGraph module~modthermodynamics modthermodynamics module~instant instant module~instant->module~modthermodynamics module~modstartup modstartup module~modstartup->module~modthermodynamics module~readnamelists readnamelists module~modstartup->module~readnamelists module~readnamelists->module~modthermodynamics module~stats stats module~stats->module~modthermodynamics proc~exitmodules exitmodules proc~exitmodules->module~modthermodynamics proc~readinitfiles readinitfiles proc~readinitfiles->module~modthermodynamics proc~readinitfiles->module~readnamelists program~udales uDALES program~udales->module~modthermodynamics program~udales->module~instant program~udales->module~modstartup program~udales->module~stats proc~init_tests init_tests proc~init_tests->module~modstartup proc~tests_roundtrip tests_roundtrip proc~tests_roundtrip->module~readnamelists proc~tests_sgs_statistics tests_sgs_statistics proc~tests_sgs_statistics->module~stats

Variables

Type Visibility Attributes Name Initial
logical, public :: lqlnr = .false.
real, public, allocatable :: th0av(:)
real, public :: chi_half = 0.5
real, public, allocatable :: thv0(:,:,:)

Functions

public pure elemental function air_temperature(thl, ql, exner) result(temp)

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: thl
real, intent(in) :: ql
real, intent(in) :: exner

Return Value real

public pure elemental function relative_humidity(qt, ql, temp, pressure) result(rh)

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: qt
real, intent(in) :: ql
real, intent(in) :: temp
real, intent(in) :: pressure

Return Value real


Subroutines

public subroutine initthermodynamics()

Arguments

None

public subroutine thermodynamics()

Arguments

None

public subroutine exitthermodynamics()

Arguments

None

public subroutine calthv()

Arguments

None

public subroutine diagfld()

Arguments

None

public subroutine fromztop()

Arguments

None

public subroutine thermo(thl, qt, ql, pressure, exner)

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: thl(ib-ih:ie+ih,jb-jh:je+jh,kb-kh:ke+kh)
real, intent(in) :: qt(ib-ih:ie+ih,jb-jh:je+jh,kb-kh:ke+kh)
real, intent(out) :: ql(ib-ih:ie+ih,jb-jh:je+jh,kb:ke+kh)
real, intent(in) :: pressure(kb:ke+kh)
real, intent(in) :: exner(kb:ke+kh)

public subroutine calc_halflev()

Arguments

None