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

Go to the source code of this file.

Modules

module  damping_mod
 Damping applied to the W field at some point to stop stuff flying up and off.
 

Functions/Subroutines

type(component_descriptor_type) function, public damping_mod::damping_get_descriptor ()
 Descriptor of this component for registration. More...
 
subroutine damping_mod::init_callback (current_state)
 On initialisation will set up data structures and field values. More...
 
subroutine damping_mod::finalisation_callback (current_state)
 
subroutine damping_mod::timestep_callback (current_state)
 For each data column will calculate the damping term and apply this to the source term for that field. More...
 
subroutine damping_mod::save_precomponent_tendencies (current_state, cxn, cyn, txn, tyn)
 Save the 3d tendencies coming into the component. More...
 
subroutine damping_mod::compute_component_tendencies (current_state, cxn, cyn, txn, tyn)
 Computation of component tendencies. More...
 
subroutine damping_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 damping_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 damping_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

real(kind=default_precision) damping_mod::dmptim
 Layer timescale. More...
 
real(kind=default_precision) damping_mod::zdmp
 The point (m) where the damping starts. More...
 
real(kind=default_precision) damping_mod::hdmp
 The height (m) of the damping layer. More...
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_u
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_v
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_w
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_th
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_qv
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_ql
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_qi
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_qr
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_qs
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_qg
 
real(kind=default_precision), dimension(:,:,:), allocatable damping_mod::tend_3d_tabs
 
logical damping_mod::l_tend_3d_u
 
logical damping_mod::l_tend_3d_v
 
logical damping_mod::l_tend_3d_w
 
logical damping_mod::l_tend_3d_th
 
logical damping_mod::l_tend_3d_qv
 
logical damping_mod::l_tend_3d_ql
 
logical damping_mod::l_tend_3d_qi
 
logical damping_mod::l_tend_3d_qr
 
logical damping_mod::l_tend_3d_qs
 
logical damping_mod::l_tend_3d_qg
 
logical damping_mod::l_tend_3d_tabs
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_u
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_v
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_w
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_th
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_qv
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_ql
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_qi
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_qr
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_qs
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_qg
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_tabs
 
logical damping_mod::l_tend_pr_tot_u
 
logical damping_mod::l_tend_pr_tot_v
 
logical damping_mod::l_tend_pr_tot_w
 
logical damping_mod::l_tend_pr_tot_th
 
logical damping_mod::l_tend_pr_tot_qv
 
logical damping_mod::l_tend_pr_tot_ql
 
logical damping_mod::l_tend_pr_tot_qi
 
logical damping_mod::l_tend_pr_tot_qr
 
logical damping_mod::l_tend_pr_tot_qs
 
logical damping_mod::l_tend_pr_tot_qg
 
logical damping_mod::l_tend_pr_tot_tabs
 
integer damping_mod::iqv =0
 
integer damping_mod::iql =0
 
integer damping_mod::iqr =0
 
integer damping_mod::iqi =0
 
integer damping_mod::iqs =0
 
integer damping_mod::iqg =0
 
integer damping_mod::diagnostic_generation_frequency
 
real(kind=default_precision), dimension(:), allocatable damping_mod::tend_pr_tot_tke
 
logical damping_mod::l_tend_pr_tot_tke