MONC
|
Calculates the local divergence error. More...
Functions/Subroutines | |
type(component_descriptor_type) function, public | diverr_get_descriptor () |
Descriptor of this component for registration. More... | |
subroutine | init_callback (current_state) |
The initialisation callback will allocate memory for the P field and initialise it. More... | |
subroutine | timestep_callback (current_state) |
Called each timestep this will initialise P and update the local divergence error for the current column. More... | |
subroutine | finalisation_callback (current_state) |
Called at finalisation this will deallocate the P field as the model shuts down. More... | |
subroutine | find_max_divergence_error (current_state) |
Finds the maximum divergence error locally and writes this into the local variable. More... | |
subroutine | handle_forward_stepping (current_state) |
Handles the calculation of P when the model is forward stepping. More... | |
subroutine | handle_centred_stepping (current_state) |
Handles the calculation of P when the model is centred stepping. More... | |
subroutine | calculate_p (current_state, p, u, v, w, timec, y_local, x_local) |
Calculates P based upon flow fields and the stepping. More... | |
Calculates the local divergence error.
|
private |
Calculates P based upon flow fields and the stepping.
current_state | The current model state |
p | The P field to update |
u | The U flow field |
v | The V flow field |
w | The W flow field |
timec | Based upon model dtm this depends on the stepping selected |
y_local | Local Y dimension index |
x_local | Local X dimension index |
Definition at line 120 of file diverr.F90.
type(component_descriptor_type) function, public diverr_mod::diverr_get_descriptor |
Descriptor of this component for registration.
Definition at line 19 of file diverr.F90.
|
private |
Called at finalisation this will deallocate the P field as the model shuts down.
current_state | The current model state |
Definition at line 61 of file diverr.F90.
|
private |
Finds the maximum divergence error locally and writes this into the local variable.
current_state | The current model state |
Definition at line 70 of file diverr.F90.
|
private |
Handles the calculation of P when the model is centred stepping.
current_state | The current model state |
Definition at line 100 of file diverr.F90.
|
private |
Handles the calculation of P when the model is forward stepping.
current_state | The current model state |
Definition at line 87 of file diverr.F90.
|
private |
The initialisation callback will allocate memory for the P field and initialise it.
current_state | The current model state |
Definition at line 29 of file diverr.F90.
|
private |
Called each timestep this will initialise P and update the local divergence error for the current column.
current_state | The current model state |
Definition at line 44 of file diverr.F90.