/[MITgcm]/MITgcm/verification/OpenAD/code_oad/externalDummies.F
ViewVC logotype

Contents of /MITgcm/verification/OpenAD/code_oad/externalDummies.F

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


Revision 1.2 - (show annotations) (download)
Sun May 23 14:57:53 2010 UTC (14 years, 1 month ago) by utke
Branch: MAIN
CVS Tags: checkpoint62k, checkpoint62i, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62j, checkpoint62h, checkpoint62q, checkpoint62p
Changes since 1.1: +26 -67 lines
reflect exch1 changes

1 C ###########################################################
2 SUBROUTINE EXCH1_RL(
3 U array,
4 I myOLw, myOLe, myOLs, myOLn, myNz,
5 I exchWidthX, exchWidthY,
6 I cornerMode, myThid )
7
8 IMPLICIT NONE
9 #include "SIZE.h"
10 #include "EEPARAMS.h"
11 #include "EXCH.h"
12 INTEGER myOLw, myOLe, myOLs, myOLn, myNz
13 _RL array( 1-myOLw:sNx+myOLe,
14 & 1-myOLs:sNy+myOLn,
15 & myNz, nSx, nSy )
16 INTEGER exchWidthX
17 INTEGER exchWidthY
18 INTEGER cornerMode
19 INTEGER myThid
20 end subroutine
21 C ###########################################################
22 C SUBROUTINE EXCH1_RS(
23 C U array,
24 C I myOLw, myOLe, myOLs, myOLn, myNz,
25 C I exchWidthX, exchWidthY,
26 C I cornerMode, myThid )
27 C
28 C IMPLICIT NONE
29 C#include "SIZE.h"
30 C#include "EEPARAMS.h"
31 C#include "EXCH.h"
32 C INTEGER myOLw, myOLe, myOLs, myOLn, myNz
33 C _RS array( 1-myOLw:sNx+myOLe,
34 C & 1-myOLs:sNy+myOLn,
35 C & myNz, nSx, nSy )
36 C INTEGER exchWidthX
37 C INTEGER exchWidthY
38 C INTEGER cornerMode
39 C INTEGER myThid
40 C end subroutine
41 C ###########################################################
42 C SUBROUTINE GLOBAL_MAX_R8(
43 C U maxphi,
44 C I myThid )
45 C IMPLICIT NONE
46 C#include "SIZE.h"
47 C#include "EEPARAMS.h"
48 C#include "EESUPPORT.h"
49 C#include "EXCH.h"
50 C Real*8 maxPhi
51 C INTEGER myThid
52 C maxPhi=2*maxPhi
53 C end subroutine
54 C ###########################################################
55 SUBROUTINE GLOBAL_SUM_R8(
56 U sumphi,
57 I myThid )
58 IMPLICIT NONE
59 #include "SIZE.h"
60 #include "EEPARAMS.h"
61 #include "EESUPPORT.h"
62 #include "EXCH.h"
63 Real*8 sumPhi
64 INTEGER myThid
65 sumPhi=2*sumPhi
66 end subroutine
67 C ###########################################################
68 SUBROUTINE CG2D(
69 I cg2d_b,
70 U cg2d_x,
71 O firstResidual,
72 O lastResidual,
73 U numIters,
74 I myThid )
75 IMPLICIT NONE
76 #include "SIZE.h"
77 #include "EEPARAMS.h"
78 #include "PARAMS.h"
79 #include "CG2D.h"
80 Real*8 cg2d_b(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
81 Real*8 cg2d_x(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
82 Real*8 firstResidual
83 Real*8 lastResidual
84 INTEGER numIters
85 INTEGER myThid
86 cg2d_x(1,1,1,1)=cg2d_b(1,1,1,1)
87 end subroutine

  ViewVC Help
Powered by ViewVC 1.1.22