MONC
|
Conditionally averaged diagnostics, Part 2 of 2. More...
Functions/Subroutines | |
type(component_descriptor_type) function, public | conditional_diagnostics_whole_get_descriptor () |
Provides registry information for the component. More... | |
subroutine | initialisation_callback (current_state) |
Initialisation hook: currently doesn't need to do anything. More... | |
subroutine | timestep_callback (current_state) |
The timestep hook will perform averaging of the conditional diagnostics. More... | |
subroutine | finalisation_callback (current_state) |
Called on termination: currently doesn't need to do anything. More... | |
Variables | |
integer | diagnostic_generation_frequency |
Conditionally averaged diagnostics, Part 2 of 2.
type(component_descriptor_type) function, public conditional_diagnostics_whole_mod::conditional_diagnostics_whole_get_descriptor |
Provides registry information for the component.
Definition at line 33 of file conditional_diagnostics_whole.F90.
|
private |
Called on termination: currently doesn't need to do anything.
current_state | The current model state |
Definition at line 112 of file conditional_diagnostics_whole.F90.
|
private |
Initialisation hook: currently doesn't need to do anything.
current_state | The current model state |
Definition at line 44 of file conditional_diagnostics_whole.F90.
|
private |
The timestep hook will perform averaging of the conditional diagnostics.
current_state | The current model state |
Decide if conditions are appropriate to proceed with calculations
Sum conditional diagnostics total array (horizontally), placing the result on process 0 Reduction call on process 0 requires special MPI_IN_PLACE handling
Average summed diagnostics over the domain by dividing the total diagnostic for each condition by the total number of points for the associated conditions. This is NOT done for the area diagnostic, identified by the requested_area position in the array. Note: CondDiags_tot(k, ncond, ndiag)
Convert the area total number of points for each condition to fraction of the horizontal domain.
Apply missing data mask to top/bottom
Since the xml handling of CondDiags_tot will perform a sum over processes, divide by the number of proceses.
Broadcast the process-fractional solution to all processes.
Definition at line 55 of file conditional_diagnostics_whole.F90.
|
private |
Definition at line 24 of file conditional_diagnostics_whole.F90.