MONC
Modules | Functions/Subroutines
diverr.F90 File Reference

Go to the source code of this file.

Modules

module  diverr_mod
 Calculates the local divergence error.
 

Functions/Subroutines

type(component_descriptor_type) function, public diverr_mod::diverr_get_descriptor ()
 Descriptor of this component for registration. More...
 
subroutine diverr_mod::init_callback (current_state)
 The initialisation callback will allocate memory for the P field and initialise it. More...
 
subroutine diverr_mod::timestep_callback (current_state)
 Called each timestep this will initialise P and update the local divergence error for the current column. More...
 
subroutine diverr_mod::finalisation_callback (current_state)
 Called at finalisation this will deallocate the P field as the model shuts down. More...
 
subroutine diverr_mod::find_max_divergence_error (current_state)
 Finds the maximum divergence error locally and writes this into the local variable. More...
 
subroutine diverr_mod::handle_forward_stepping (current_state)
 Handles the calculation of P when the model is forward stepping. More...
 
subroutine diverr_mod::handle_centred_stepping (current_state)
 Handles the calculation of P when the model is centred stepping. More...
 
subroutine diverr_mod::calculate_p (current_state, p, u, v, w, timec, y_local, x_local)
 Calculates P based upon flow fields and the stepping. More...