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

Go to the source code of this file.

Modules

module  pstep_mod
 Stepping of the pressure field. Completes the time-stepping of the velocity fields by adding the pressure term (dp/dx_i). In addition, ensures that l_zu and l_zv satisfy the Galilean-transformed boundary condition. This does not do the flow field _p terms which are only needed for diagnostics, nore does it do field halo swapping which is again only needed for diagnostics.
 

Functions/Subroutines

type(component_descriptor_type) function, public pstep_mod::pstep_get_descriptor ()
 Descriptor of this component for registration. More...
 
subroutine pstep_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 pstep_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 pstep_mod::initialisation_callback (current_state)
 Initialisation callback hook which will check the diverr component is enabled (as this allocates p) More...
 
subroutine pstep_mod::finalisation_callback (current_state)
 
subroutine pstep_mod::timestep_callback (current_state)
 Called each timestep, this will step the pressure field for the non halo columns. More...
 
subroutine pstep_mod::step_pressure_field (current_state)
 Does the actual stepping of the pressure field. More...
 
subroutine pstep_mod::perform_galilean_transformation (current_state, y_index, x_index)
 Performs Galilean transformation of flow current and z fields. More...
 
subroutine pstep_mod::save_precomponent_tendencies (current_state, cxn, cyn, txn, tyn)
 Save the 3d tendencies coming into the component. More...
 
subroutine pstep_mod::compute_component_tendencies (current_state, cxn, cyn, txn, tyn)
 Computation of component tendencies. More...
 
subroutine pstep_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 pstep_mod::tendp_3d_u
 
real(kind=default_precision), dimension(:,:,:), allocatable pstep_mod::tendp_3d_v
 
real(kind=default_precision), dimension(:,:,:), allocatable pstep_mod::tendp_3d_w
 
real(kind=default_precision), dimension(:,:,:), allocatable pstep_mod::tend_3d_u
 
real(kind=default_precision), dimension(:,:,:), allocatable pstep_mod::tend_3d_v
 
real(kind=default_precision), dimension(:,:,:), allocatable pstep_mod::tend_3d_w
 
logical pstep_mod::l_tendp_3d_u
 
logical pstep_mod::l_tendp_3d_v
 
logical pstep_mod::l_tendp_3d_w
 
logical pstep_mod::l_tend_3d_u
 
logical pstep_mod::l_tend_3d_v
 
logical pstep_mod::l_tend_3d_w
 
real(kind=default_precision), dimension(:), allocatable pstep_mod::tendp_pr_tot_u
 
real(kind=default_precision), dimension(:), allocatable pstep_mod::tendp_pr_tot_v
 
real(kind=default_precision), dimension(:), allocatable pstep_mod::tendp_pr_tot_w
 
real(kind=default_precision), dimension(:), allocatable pstep_mod::tend_pr_tot_u
 
real(kind=default_precision), dimension(:), allocatable pstep_mod::tend_pr_tot_v
 
real(kind=default_precision), dimension(:), allocatable pstep_mod::tend_pr_tot_w
 
logical pstep_mod::l_tendp_pr_tot_u
 
logical pstep_mod::l_tendp_pr_tot_v
 
logical pstep_mod::l_tendp_pr_tot_w
 
logical pstep_mod::l_tend_pr_tot_u
 
logical pstep_mod::l_tend_pr_tot_v
 
logical pstep_mod::l_tend_pr_tot_w
 
integer pstep_mod::diagnostic_generation_frequency