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

Go to the source code of this file.

Modules

module  diffusion_mod
 Diffusion on the TH and Q fields.
 

Functions/Subroutines

type(component_descriptor_type) function, public diffusion_mod::diffusion_get_descriptor ()
 Provides the descriptor back to the caller and is used in component registration. More...
 
subroutine diffusion_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 diffusion_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 diffusion_mod::initialisation_callback (current_state)
 Sets up the stencil_mod (used in interpolation) and allocates data for the flux fields. More...
 
subroutine diffusion_mod::finalisation_callback (current_state)
 
subroutine diffusion_mod::timestep_callback (current_state)
 At each timestep will compute the diffusion source terms for TH and Q fields per column if these fields are active. More...
 
subroutine diffusion_mod::perform_q_diffusion (current_state, local_y, local_x)
 Computes the diffusion source terms for each Q field. More...
 
subroutine diffusion_mod::perform_th_diffusion (current_state, local_y, local_x)
 Computes the diffusion source terms for the theta field. More...
 
subroutine diffusion_mod::general_diffusion (current_state, field, source_field, local_y, local_x, diagnostics)
 General diffusion computation for any field which is provided as arguments. Works in a column. More...
 
subroutine diffusion_mod::perform_local_data_copy_for_diff (current_state, halo_depth, involve_corners, source_data)
 Does local data copying for diffusion coefficient variable halo swap. More...
 
subroutine diffusion_mod::copy_halo_buffer_to_diff (current_state, neighbour_description, dim, target_index, neighbour_location, current_page, source_data)
 Copies the halo buffer to halo location for the diffusion coefficient field. More...
 
subroutine diffusion_mod::copy_halo_buffer_to_diff_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 diffusion coefficient field corners. More...
 

Variables

real(kind=default_precision), dimension(:), allocatable diffusion_mod::th_diffusion
 
real(kind=default_precision), dimension(:,:), allocatable diffusion_mod::q_diffusion