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

Go to the source code of this file.

Modules

module  viscosity_mod
 Computes the viscosity dynamics for the U,V,W source terms.
 

Functions/Subroutines

type(component_descriptor_type) function, public viscosity_mod::viscosity_get_descriptor ()
 Provides the descriptor back to the caller and is used in component registration. More...
 
subroutine viscosity_mod::field_information_retrieval_callback (current_state, name, field_information)
 Field information retrieval callback, this returns information for a specific components published field. More...
 
subroutine viscosity_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 viscosity_mod::initialisation_callback (current_state)
 Sets up the stencil_mod (used in interpolation) and allocates data for the flux fields. More...
 
subroutine viscosity_mod::finalisation_callback (current_state)
 
subroutine viscosity_mod::timestep_callback (current_state)
 At each timestep will compute the viscosity U,V,W source terms. More...
 
subroutine viscosity_mod::calculate_viscous_sources (current_state, local_y, local_x, tau12, tau12_ym1, tau12m1, tau11, tau22, tau22_yp1, tau33, tau11p1, tau13, tau13m1, tau23, tau23_ym1)
 Calculates the viscous sources based upon TAU for the U,V and W fields. More...
 
subroutine viscosity_mod::calculate_tau (current_state, local_y, local_x, zu, zv, zw, tau12, tau12_ym1, tau12m1, tau11, tau22, tau22_yp1, tau33, tau11p1, tau13, tau13m1, tau23, tau23_ym1)
 Calculated TAU which is used in computing the viscous source terms. More...
 
subroutine viscosity_mod::perform_local_data_copy_for_vis (current_state, halo_depth, involve_corners, source_data)
 Does local data copying for viscosity coefficient variable halo swap. More...
 
subroutine viscosity_mod::copy_halo_buffer_to_vis (current_state, neighbour_description, dim, target_index, neighbour_location, current_page, source_data)
 Copies the halo buffer to halo location for the viscosity coefficient field. More...
 
subroutine viscosity_mod::copy_halo_buffer_to_vis_corners (current_state, neighbour_description, corner_loc, x_target_index, y_target_index, neighbour_location, current_page, source_data)
 Copies the corner halo buffer to the viscosity coefficient field corners. More...
 
subroutine viscosity_mod::save_precomponent_tendencies (current_state, cxn, cyn, txn, tyn)
 Save the 3d tendencies coming into the component. More...
 
subroutine viscosity_mod::compute_component_tendencies (current_state, cxn, cyn, txn, tyn)
 Computation of component tendencies. More...
 
subroutine viscosity_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), dimension(:), allocatable viscosity_mod::u_viscosity
 
real(kind=default_precision), dimension(:), allocatable viscosity_mod::v_viscosity
 
real(kind=default_precision), dimension(:), allocatable viscosity_mod::w_viscosity
 
real(kind=default_precision), dimension(:,:,:), allocatable viscosity_mod::tend_3d_u
 
real(kind=default_precision), dimension(:,:,:), allocatable viscosity_mod::tend_3d_v
 
real(kind=default_precision), dimension(:,:,:), allocatable viscosity_mod::tend_3d_w
 
logical viscosity_mod::l_tend_3d_u
 
logical viscosity_mod::l_tend_3d_v
 
logical viscosity_mod::l_tend_3d_w
 
real(kind=default_precision), dimension(:), allocatable viscosity_mod::tend_pr_tot_u
 
real(kind=default_precision), dimension(:), allocatable viscosity_mod::tend_pr_tot_v
 
real(kind=default_precision), dimension(:), allocatable viscosity_mod::tend_pr_tot_w
 
logical viscosity_mod::l_tend_pr_tot_u
 
logical viscosity_mod::l_tend_pr_tot_v
 
logical viscosity_mod::l_tend_pr_tot_w
 
integer viscosity_mod::diagnostic_generation_frequency