/[MITgcm]/MITgcm_contrib/bbl/code/mypackage_diagnostics_state.F
ViewVC logotype

Annotation of /MITgcm_contrib/bbl/code/mypackage_diagnostics_state.F

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


Revision 1.1 - (hide annotations) (download)
Thu Nov 18 04:00:05 2010 UTC (14 years, 7 months ago) by dimitri
Branch: MAIN
This is a first sketch of a bottom boundary layer parameterization
for MITgcm.  The hooks to main model currently reside with pkg/mypackage
and it is temporarily checked in MITgcm_contrib until it clears the
App Store vetting process.  Instructions on running a simple test
integration in a periodic channel are in MITgcm_contrib/bbl/readme.txt
and some output can be viewed using lookat_output.m in same directory.

1 dimitri 1.1 C $Header: $
2     C $Name: $
3    
4     #include "BBL_OPTIONS.h"
5    
6     C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
7     CBOP 0
8     C !ROUTINE: BBL_DIAGNOSTICS_STATE
9    
10     C !INTERFACE:
11     SUBROUTINE MYPACKAGE_DIAGNOSTICS_STATE(
12     I myTime, myIter, myThid )
13    
14     C !DESCRIPTION:
15     C Fill-in diagnostics array for BBL state variables
16    
17     C !USES:
18     IMPLICIT NONE
19     #include "SIZE.h"
20     #include "EEPARAMS.h"
21     #include "PARAMS.h"
22     #ifdef ALLOW_BBL
23     #include "BBL.h"
24     #endif
25    
26     C !INPUT PARAMETERS:
27     C myTime :: Current time of simulation ( s )
28     C myIter :: Current iteration number in simulation
29     C myThid :: my Thread Id number
30     _RL myTime
31     INTEGER myIter, myThid
32     CEOP
33    
34     #ifdef ALLOW_BBL
35     C !LOCAL VARIABLES:
36    
37     #ifdef ALLOW_DIAGNOSTICS
38     IF ( useDiagnostics ) THEN
39    
40     CALL DIAGNOSTICS_FILL( bbl_theta , 'BBLtheta',
41     & 0, 1, 0, 1, 1, myThid )
42     CALL DIAGNOSTICS_FILL( bbl_salt , 'BBLsalt ',
43     & 0, 1, 0, 1, 1, myThid )
44     CALL DIAGNOSTICS_FILL( bbl_eta , 'BBLeta ',
45     & 0, 1, 0, 1, 1, myThid )
46     CALL DIAGNOSTICS_FILL( bbl_TendTheta, 'BBLtendT',
47     & 0, 1, 0, 1, 1, myThid )
48     CALL DIAGNOSTICS_FILL( bbl_TendSalt , 'BBLtendS',
49     & 0, 1, 0, 1, 1, myThid )
50    
51     ENDIF
52     #endif /* ALLOW_DIAGNOSTICS */
53    
54     #endif /* ALLOW_BBL */
55    
56     RETURN
57     END

  ViewVC Help
Powered by ViewVC 1.1.22