/[MITgcm]/MITgcm/pkg/thsice/thsice_do_advect.F
ViewVC logotype

Annotation of /MITgcm/pkg/thsice/thsice_do_advect.F

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


Revision 1.1 - (hide annotations) (download)
Wed Apr 4 02:40:42 2007 UTC (17 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64a, checkpoint64c, checkpoint64b, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, 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
code to advect pkg/thSIce fields (testing is in progress).

1 jmc 1.1 C $Header: $
2     C $Name: $
3    
4     #include "THSICE_OPTIONS.h"
5    
6     CBOP
7     C !ROUTINE: THSICE_DO_ADVECT
8     C !INTERFACE:
9     SUBROUTINE THSICE_DO_ADVECT(
10     I bi, bj, myTime, myIter, myThid )
11    
12     C !DESCRIPTION: \bv
13     C *==========================================================*
14     C | SUBROUTINE THSICE_DO_ADVECT
15     C | o wraper for pkg/thSIce advection-diffusion calls
16     C *==========================================================*
17     C \ev
18     C !USES:
19     IMPLICIT NONE
20    
21     C === Global variables ===
22     #include "SIZE.h"
23     #include "EEPARAMS.h"
24     #include "PARAMS.h"
25     #include "THSICE_PARAMS.h"
26    
27     C !INPUT/OUTPUT PARAMETERS:
28     C === Routine arguments ===
29     C bi,bj :: Tile indices
30     C myTime :: Current time in simulation (s)
31     C myIter :: Current iteration number
32     C myThid :: My Thread Id. number
33     INTEGER bi,bj
34     _RL myTime
35     INTEGER myIter
36     INTEGER myThid
37     CEOP
38    
39     C !LOCAL VARIABLES:
40     C === Local variables ===
41     C uIce/vIce :: ice velocity on C-grid [m/s]
42     _RL uIce(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
43     _RL vIce(1-OLx:sNx+OLx,1-OLy:sNy+OLy)
44    
45     IF ( thSIceAdvScheme.GT.0 ) THEN
46     CALL THSICE_GET_VELOCITY(
47     O uIce, vIce,
48     I bi,bj, myTime, myIter, myThid )
49     CALL THSICE_ADVDIFF(
50     U uIce, vIce,
51     I bi,bj, myTime, myIter, myThid )
52     ENDIF
53    
54     RETURN
55     END

  ViewVC Help
Powered by ViewVC 1.1.22