MONC
Modules | Functions/Subroutines | Variables
thadvection.F90 File Reference

Go to the source code of this file.

Modules

module  thadvection_mod
 Specific theta advection, which involves the vertical advection of reference state and advection of mean baroclinicity.
 

Functions/Subroutines

type(component_descriptor_type) function, public thadvection_mod::thadvection_get_descriptor ()
 Provides a description of this component for the core to register. More...
 
subroutine thadvection_mod::initialisation_callback (current_state)
 Initialisation callback to set up the variables and data needed by the component. More...
 
subroutine thadvection_mod::finalisation_callback (current_state)
 
subroutine thadvection_mod::timestep_callback (current_state)
 Timestep callback, will call the two separate procedures to do their advection if needed. More...
 
subroutine thadvection_mod::vertical_advection_of_reference_state (current_state, local_y, local_x)
 Vertical advection of the reference state. It doesn't seem consistent to do the advection in this way if TVD advection of the deviation from the reference state has been selected. Separate vertical advection of the reference state was introduced to improve energy conservation when carrying out idealized gravity wave simulations in a deep, dry isothermal layer, for which the difference in potential temp between top and bottom was of order 100K. In less extreme cases the benefits are unlikely to be significant and with TVD advection energy conservation has been compromised so the best way forward might be to recombine the reference state into l_th. More...
 
subroutine thadvection_mod::advection_of_mean_baroclinicity (current_state, local_y, local_x)
 Performs advection of the mean baroclinicity if appropriate. More...
 
subroutine thadvection_mod::save_precomponent_tendencies (current_state, cxn, cyn, txn, tyn)
 Save the 3d tendencies coming into the component. More...
 
subroutine thadvection_mod::compute_component_tendencies (current_state, cxn, cyn, txn, tyn)
 Computation of component tendencies. More...
 
subroutine thadvection_mod::field_information_retrieval_callback (current_state, name, field_information)
 Field information retrieval callback, this returns information for a specific component's published field. More...
 
subroutine thadvection_mod::field_value_retrieval_callback (current_state, name, field_value)
 Field value retrieval callback, this returns the value of a specific published field. More...
 
subroutine thadvection_mod::set_published_field_value (field_value, real_1d_field, real_2d_field, real_3d_field)
 Sets the published field value from the temporary diagnostic values held by this component. More...
 

Variables

logical thadvection_mod::baroclinicity_use_geostrophic_shear
 
logical thadvection_mod::l_advect_mean_baroclinicity
 
real(kind=default_precision) thadvection_mod::fcoriol
 
real(kind=default_precision) thadvection_mod::fcoriol_over_g
 
real(kind=default_precision) thadvection_mod::rate_change_geostrophic_wind_x
 
real(kind=default_precision) thadvection_mod::rate_change_geostrophic_wind_y
 
real(kind=default_precision) thadvection_mod::multiplicative_factor_x
 
real(kind=default_precision) thadvection_mod::multiplicative_factor_y
 
real(kind=default_precision), dimension(:,:,:), allocatable thadvection_mod::tend_3d_th
 
real(kind=default_precision), dimension(:,:,:), allocatable thadvection_mod::tend_3d_tabs
 
logical thadvection_mod::l_tend_3d_th
 
logical thadvection_mod::l_tend_3d_tabs
 
real(kind=default_precision), dimension(:), allocatable thadvection_mod::tend_pr_tot_th
 
real(kind=default_precision), dimension(:), allocatable thadvection_mod::tend_pr_tot_tabs
 
logical thadvection_mod::l_tend_pr_tot_th
 
logical thadvection_mod::l_tend_pr_tot_tabs
 
integer thadvection_mod::diagnostic_generation_frequency