/[MITgcm]/MITgcm/model/inc/CG2D.h
ViewVC logotype

Contents of /MITgcm/model/inc/CG2D.h

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


Revision 1.8 - (show annotations) (download)
Tue May 29 14:01:36 2001 UTC (22 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint40pre3, checkpoint40pre1, checkpoint40pre7, checkpoint40pre6, checkpoint40pre9, checkpoint40pre8, checkpoint40pre2, checkpoint40pre4, checkpoint40pre5, checkpoint40
Changes since 1.7: +43 -10 lines
File MIME type: text/plain
Merge from branch pre38:
 o essential mods for cubed sphere
 o debugged atmosphere, dynamcis + physics (aim)
 o new packages (mom_vecinv, mom_fluxform, ...)

1 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/Attic/CG2D.h,v 1.7.2.3 2001/04/06 12:50:49 jmc Exp $
2 C $Name: pre38-close $
3
4 C /==========================================================\
5 C | CG2D.h |
6 C | o Two-dimensional conjugate gradient solver header. |
7 C |==========================================================|
8 C | Internal (private) data structures. |
9 C \==========================================================/
10
11 C-- COMMON /CG2D_I_L/ cg2dNormaliseRHS
12 C cg2dNormaliseRHS - flag set to TRUE if normalise RHS in the Solver
13 COMMON /CG2D_I_L/ cg2dNormaliseRHS
14 LOGICAL cg2dNormaliseRHS
15
16 C-- COMMON /CG2D_R/ DEL**2 Laplacian operators
17 C aW2d - East-west operator.
18 C aS2d - North-south operator.
19 C pW - East-west off-diagonal term of preconditioner.
20 C pS - North-south off-diagonal term of preconditioner.
21 C pC - Main diagonal term of preconditioner.
22 C etaNBuf - Shared buffers for accumulating con. grad vector product.
23 C alphaBuf
24 C errBuf
25 C nrmBuf
26 C cg2dNorm - A matrix normalisation factor.
27 C cg2dTolerance - cg2d solver Tolerance (solver unit = m2/s2 or no unit,
28 C depending on cg2dNormaliseRHS)
29 COMMON /CG2D_I_R/
30 & aW2d,
31 & aS2d,
32 & pW, pS, pC,
33 & cg2dNorm, cg2dTolerance
34 _RS aW2d (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
35 _RS aS2d (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
36 _RS pW (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
37 _RS pS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
38 _RS pC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
39 _RL cg2dNorm, cg2dTolerance
40
41 C-- COMMON /CG2D_I_WK_R/ Work array common block
42 C cg2d_q - Intermediate matrix-vector product term
43 C cg2d_r - "
44 C cg2d_s - "
45 COMMON /CG2D_I_WK_R/
46 & cg2d_q, cg2d_r, cg2d_s
47 _RL cg2d_q(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
48 _RL cg2d_r(1-1:sNx+1,1-1:sNy+1,nSx,nSy)
49 _RL cg2d_s(1-1:sNx+1,1-1:sNy+1,nSx,nSy)

  ViewVC Help
Powered by ViewVC 1.1.22