/[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.10 - (show annotations) (download)
Thu May 30 02:26:01 2002 UTC (21 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint45b_post, checkpoint45c_post
Changes since 1.9: +3 -3 lines
File MIME type: text/plain
Cleaned exchange calls.

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

  ViewVC Help
Powered by ViewVC 1.1.22