/[MITgcm]/MITgcm/pkg/diagnostics/DIAGNOSTICS_CALC.h
ViewVC logotype

Annotation of /MITgcm/pkg/diagnostics/DIAGNOSTICS_CALC.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Fri Jul 22 19:47:14 2011 UTC (12 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.1: +11 -1 lines
File MIME type: text/plain
add specific parameter for velocity-potential solver (diag_cg2d),
 (default = main code CG2D params)

1 jmc 1.2 C $Header: /u/gcmpack/MITgcm/pkg/diagnostics/DIAGNOSTICS_CALC.h,v 1.1 2011/07/06 01:43:49 jmc Exp $
2 jmc 1.1 C $Name: $
3    
4     CBOP
5     C !ROUTINE: DIAGNOSTICS_CALC.h
6     C !INTERFACE:
7     C include "DIAGNOSTICS_CALC.h"
8     C !DESCRIPTION:
9     C \bv
10     C *==========================================================*
11     C | DIAGNOSTICS_CALC.h
12     C | o Hold parameters and variables used in post-processing
13     C | diagnostics
14     C *==========================================================*
15     C *==========================================================*
16     C \ev
17     CEOP
18    
19     C DIAGNOSTICS_CALC common block:
20 jmc 1.2 C-- used in Velocity-Potential calculation:
21     C diagCG_maxIters :: max number of iterations in diag_cg2d solver
22     C diagCG_prtResFrq :: frequency for printing residual in CG iterations
23     C diagCG_resTarget :: residual target for diag_cg2d solver (no units)
24 jmc 1.1 C-- used in Stream-Function calculation:
25     C iPsi0,jPsi0 :: indices of grid-point location where Psi == 0
26     C xPsi0,yPsi0 :: grid-point coordinate where Psi == 0
27    
28 jmc 1.2 INTEGER diagCG_maxIters
29     INTEGER diagCG_prtResFrq
30 jmc 1.1 INTEGER iPsi0(nSx,nSy)
31     INTEGER jPsi0(nSx,nSy)
32 jmc 1.2 _RL diagCG_resTarget
33 jmc 1.1 _RS xPsi0, yPsi0
34     COMMON / DIAGNOSTICS_CALC_I /
35 jmc 1.2 & diagCG_maxIters, diagCG_prtResFrq,
36 jmc 1.1 & iPsi0, jPsi0
37 jmc 1.2 COMMON / DIAGNOSTICS_CALC_RL /
38     & diagCG_resTarget
39 jmc 1.1 COMMON / DIAGNOSTICS_CALC_RS /
40     & xPsi0, yPsi0
41    
42     C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|

  ViewVC Help
Powered by ViewVC 1.1.22