next up previous contents
Next: 4.9 Fortran: Module Interface Up: 4 Module Descriptions Previous: 4.7 Fortran: Module Interface   Contents

Subsections

4.8 Fortran: Module Interface ice_diagnostics - diagnostic information output during run (Source File: ice_diagnostics.F)

Diagnostic information output during run


REVISION HISTORY:

   authors: Elizabeth C. Hunke, LANL 
            Bruce P. Briegleb, NCAR
INTERFACE:
       module ice_diagnostics
USES:
       use ice_domain
       use ice_constants

4.8.1 runtime_diags - writes max,min,global sums to standard out


INTERFACE:

       subroutine runtime_diags
DESCRIPTION:

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, UW
USES:
       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_flush
INPUT/OUTPUT PARAMETERS:


4.8.2 init_mass_diags - computes global combined ice and snow mass sum


INTERFACE:

       subroutine init_mass_diags
DESCRIPTION:

Computes global combined ice and snow mass sum


REVISION HISTORY:

   author: Elizabeth C. Hunke, LANL
USES:
       use ice_mpi_internal
       use ice_grid
       use ice_state
INPUT/OUTPUT PARAMETERS:


4.8.3 init_diags - initialize diagnostic output


INTERFACE:

       subroutine init_diags
DESCRIPTION:

Initialize diagnostic output


REVISION HISTORY:

   author: Elizabeth C. Hunke, LANL
USES:
INPUT/OUTPUT PARAMETERS:


4.8.4 print_state - print ice state for specified grid point


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, LANL
USES:
       use ice_model_size
       use ice_kinds_mod
       use ice_calendar
       use ice_state
       use ice_grid
       use ice_itd
       use ice_flux
INPUT/OUTPUT PARAMETERS:
       character (len=20), intent(in) :: plabel
       integer (kind=int_kind), intent(in) :: i,j


next up previous contents
Next: 4.9 Fortran: Module Interface Up: 4 Module Descriptions Previous: 4.7 Fortran: Module Interface   Contents
csm@ucar.edu