diagnostics Module

For checking model diagnostics in case of numerical instability.


Used by

  • module~~diagnostics~~UsedByGraph module~diagnostics diagnostics program~speedy speedy program~speedy->module~diagnostics proc~initialize_from_rest_state initialize_from_rest_state proc~initialize_from_rest_state->module~diagnostics

Contents


Subroutines

public subroutine check_diagnostics(vor, div, t, istep)

Prints global means of eddy kinetic energy and temperature. Also stops the integration if the computed diagnostics are outside of allowable ranges.

Arguments

Type IntentOptional AttributesName
complex, intent(in), dimension(mx,nx,kx):: vor

Spectral vorticity

complex, intent(in), dimension(mx,nx,kx):: div

Spectral divergence

complex, intent(in), dimension(mx,nx,kx):: t

Spectral temperature

integer, intent(in) :: istep

Current time step