1 |
C $Header: /u/gcmpack/MITgcm/pkg/longstep/longstep_correction_step.F,v 1.2 2010/01/18 01:04:18 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "PACKAGES_CONFIG.h" |
5 |
#include "CPP_OPTIONS.h" |
6 |
|
7 |
CBOP |
8 |
C !ROUTINE: LONGSTEP_CORRECTION_STEP |
9 |
C !INTERFACE: |
10 |
SUBROUTINE LONGSTEP_CORRECTION_STEP(myTime, myIter, myThid) |
11 |
C !DESCRIPTION: \bv |
12 |
C *==========================================================* |
13 |
C | SUBROUTINE LONGSTEP_CORRECTION_STEP |
14 |
C *==========================================================* |
15 |
C | part of tracer_correction_step that affect ptracers |
16 |
C | (except convective adjustment): -> empty |
17 |
C *==========================================================* |
18 |
C \ev |
19 |
|
20 |
C !USES: |
21 |
IMPLICIT NONE |
22 |
C == Global variables === |
23 |
#include "SIZE.h" |
24 |
#include "EEPARAMS.h" |
25 |
#include "PARAMS.h" |
26 |
#include "LONGSTEP.h" |
27 |
|
28 |
C !INPUT/OUTPUT PARAMETERS: |
29 |
C == Routine arguments == |
30 |
C myTime :: Current time in simulation |
31 |
C myIter :: Current iteration number in simulation |
32 |
C myThid :: Thread number for this instance of the routine. |
33 |
_RL myTime |
34 |
INTEGER myIter |
35 |
INTEGER myThid |
36 |
|
37 |
#ifdef ALLOW_GENERIC_ADVDIFF |
38 |
C !LOCAL VARIABLES: |
39 |
C == Local variables |
40 |
c INTEGER bi,bj |
41 |
CEOP |
42 |
|
43 |
#ifdef ALLOW_LONGSTEP |
44 |
C only cycle if we have computed gPtr in this time step |
45 |
IF ( LS_doTimeStep ) THEN |
46 |
#else |
47 |
IF ( .TRUE. ) THEN |
48 |
#endif |
49 |
|
50 |
C endif LS_doTimeStep |
51 |
ENDIF |
52 |
|
53 |
#endif /* ALLOW_GENERIC_ADVDIFF */ |
54 |
|
55 |
RETURN |
56 |
END |