/[MITgcm]/MITgcm/pkg/rbcs/rbcs_init_varia.F
ViewVC logotype

Annotation of /MITgcm/pkg/rbcs/rbcs_init_varia.F

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


Revision 1.5 - (hide annotations) (download)
Tue Oct 9 00:09:25 2007 UTC (16 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint62, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59k, checkpoint59j, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62d, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.4: +3 -0 lines
add missing cvs $Header:$ or $Name:$

1 jmc 1.5 C $Header: $
2     C $Name: $
3    
4 heimbach 1.1 #include "CPP_OPTIONS.h"
5     #include "PACKAGES_CONFIG.h"
6    
7     C !INTERFACE: ==========================================================
8     SUBROUTINE RBCS_INIT_VARIA(myThid )
9    
10     C !DESCRIPTION:
11     C calls subroutines that initialized variables for relaxed
12     c boundary conditions
13    
14     C !USES: ===============================================================
15     IMPLICIT NONE
16     #include "SIZE.h"
17     #include "GRID.h"
18     #include "DYNVARS.h"
19     #include "EEPARAMS.h"
20     #include "PARAMS.h"
21     #ifdef ALLOW_PTRACERS
22     #include "PTRACERS_SIZE.h"
23     #endif
24     #include "RBCS.h"
25    
26     C !INPUT PARAMETERS: ===================================================
27     C myThid :: thread number
28     INTEGER myThid
29     CEOP
30    
31     #ifdef ALLOW_RBCS
32    
33     C !LOCAL VARIABLES:
34     C i,j,k,bi,bj,iTracer :: loop indices
35     INTEGER i,j,k,bi,bj
36     INTEGER irbc
37     #ifdef ALLOW_PTRACERS
38     INTEGER iTracer
39     #endif
40    
41 heimbach 1.3 DO bj = myByLo(myThid), myByHi(myThid)
42     DO bi = myBxLo(myThid), myBxHi(myThid)
43     DO k=1,Nr
44     DO j=1-Oly,sNy+OLy
45     DO i=1-Olx,sNx+Olx
46 heimbach 1.2 rbct0(i,j,k,bi,bj) = 0. _d 0
47     rbcs0(i,j,k,bi,bj) = 0. _d 0
48     rbct1(i,j,k,bi,bj) = 0. _d 0
49     rbcs1(i,j,k,bi,bj) = 0. _d 0
50 heimbach 1.1 ENDDO
51 heimbach 1.3 ENDDO
52 heimbach 1.1 ENDDO
53 heimbach 1.3 ENDDO
54     ENDDO
55 heimbach 1.1
56     #ifdef ALLOW_PTRACERS
57     C Loop over tracers
58     DO iTracer = 1, PTRACERS_num
59     DO bj = myByLo(myThid), myByHi(myThid)
60     DO bi = myBxLo(myThid), myBxHi(myThid)
61     DO k=1,Nr
62     DO j=1-Oly,sNy+OLy
63     DO i=1-Olx,sNx+Olx
64 stephd 1.4 rbcptr0(i,j,k,bi,bj,iTracer) = 0. _d 0
65     rbcptr1(i,j,k,bi,bj,iTracer) = 0. _d 0
66 heimbach 1.1 ENDDO
67     ENDDO
68     ENDDO
69     ENDDO
70     ENDDO
71     C end of Tracer loop
72     ENDDO
73     #endif
74    
75     #endif /* ALLOW_RBCS */
76    
77     RETURN
78     END

  ViewVC Help
Powered by ViewVC 1.1.22