Diagnostic information output during run
REVISION HISTORY:
authors: Elizabeth C. Hunke, LANL Bruce P. Briegleb, NCARINTERFACE:
module ice_diagnosticsUSES:
use ice_domain use ice_constants
INTERFACE:
subroutine runtime_diagsDESCRIPTION:
Writes diagnostic info (max, min, global sums, etc) to standard out
REVISION HISTORY:
authors: Elizabeth C. Hunke, LANL Bruce P. Briegleb, NCAR Cecilia M. Bitz, UWUSES:
use ice_model_size use ice_flux use ice_albedo use ice_mpi_internal use ice_history use ice_grid use ice_calendar use ice_state use ice_dyn_evp use shr_sys_mod, only : shr_sys_flushINPUT/OUTPUT PARAMETERS:
INTERFACE:
subroutine init_mass_diagsDESCRIPTION:
Computes global combined ice and snow mass sum
REVISION HISTORY:
author: Elizabeth C. Hunke, LANLUSES:
use ice_mpi_internal use ice_grid use ice_stateINPUT/OUTPUT PARAMETERS:
INTERFACE:
subroutine init_diagsDESCRIPTION:
Initialize diagnostic output
REVISION HISTORY:
author: Elizabeth C. Hunke, LANLUSES:
INPUT/OUTPUT PARAMETERS:
INTERFACE:
subroutine print_state(plabel,i,j)DESCRIPTION:
This routine is useful for debugging call to it should be inserted in the form (after thermo, for example)
do j=jlo,jhi
-do i=ilo,ihi
--call to_column(i,j)
--plabel = 'post thermo'
--if (istep1.ge.check_step.and.i.eq.ip.and.j.eq.jp
---.and.my_task.eq.mtask)
--call print_state(plabel,i,j)
-enddo
enddo
'use ice_diagnostics' may need to be inserted also, and
'use ice_calendar' if it is not already being used
REVISION HISTORY:
author: Elizabeth C. Hunke, LANLUSES:
use ice_model_size use ice_kinds_mod use ice_calendar use ice_state use ice_grid use ice_itd use ice_fluxINPUT/OUTPUT PARAMETERS:
character (len=20), intent(in) :: plabel integer (kind=int_kind), intent(in) :: i,j