3 |
|
|
4 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
5 |
|
|
6 |
|
CBOP |
7 |
|
C !ROUTINE: INI_CG2D |
8 |
|
C !INTERFACE: |
9 |
SUBROUTINE INI_CG2D( myThid ) |
SUBROUTINE INI_CG2D( myThid ) |
|
C /==========================================================\ |
|
|
C | SUBROUTINE INI_CG2D | |
|
|
C | o Initialise 2d conjugate gradient solver operators. | |
|
|
C |==========================================================| |
|
|
C | These arrays are purely a function of the basin geom. | |
|
|
C | We set then here once and them use then repeatedly. | |
|
|
C \==========================================================/ |
|
|
IMPLICIT NONE |
|
10 |
|
|
11 |
|
C !DESCRIPTION: \bv |
12 |
|
C *==========================================================* |
13 |
|
C | SUBROUTINE INI_CG2D |
14 |
|
C | o Initialise 2d conjugate gradient solver operators. |
15 |
|
C *==========================================================* |
16 |
|
C | These arrays are purely a function of the basin geom. |
17 |
|
C | We set then here once and them use then repeatedly. |
18 |
|
C *==========================================================* |
19 |
|
C \ev |
20 |
|
|
21 |
|
C !USES: |
22 |
|
IMPLICIT NONE |
23 |
C === Global variables === |
C === Global variables === |
24 |
#include "SIZE.h" |
#include "SIZE.h" |
25 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
32 |
#include "OBCS.h" |
#include "OBCS.h" |
33 |
#endif |
#endif |
34 |
|
|
35 |
|
C !INPUT/OUTPUT PARAMETERS: |
36 |
C === Routine arguments === |
C === Routine arguments === |
37 |
C myThid - Thread no. that called this routine. |
C myThid - Thread no. that called this routine. |
38 |
INTEGER myThid |
INTEGER myThid |
39 |
|
|
40 |
|
C !LOCAL VARIABLES: |
41 |
C === Local variables === |
C === Local variables === |
42 |
C xG, yG - Global coordinate location. |
C xG, yG - Global coordinate location. |
43 |
C zG |
C zG |
54 |
_RS myNorm |
_RS myNorm |
55 |
_RL sumArea |
_RL sumArea |
56 |
_RL aC, aCw, aCs |
_RL aC, aCw, aCs |
57 |
|
CEOP |
58 |
|
|
59 |
C-- Initialise laplace operator |
C-- Initialise laplace operator |
60 |
C aW2d: integral in Z Ax/dX |
C aW2d: integral in Z Ax/dX |