/[MITgcm]/MITgcm/pkg/matrix/matrix_output.F
ViewVC logotype

Contents of /MITgcm/pkg/matrix/matrix_output.F

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


Revision 1.3 - (show annotations) (download)
Fri Aug 26 19:47:00 2011 UTC (12 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.2: +9 -10 lines
- fix for multi-tiles (add bi,bj indices to exp/impMatrixCounter);
- fix for multi-threaded (remove DATA statement);
- use standard DIFFERENT_MULTIPLE function;
- add MATRIX_OPTIONS.h

1 C $Header: /u/gcmpack/MITgcm/pkg/matrix/matrix_output.F,v 1.2 2007/11/05 18:58:00 jmc Exp $
2 C $Name: $
3
4 #include "MATRIX_OPTIONS.h"
5
6 CBOP
7 C !ROUTINE: MATRIX_OUTPUT
8
9 C !INTERFACE:
10 SUBROUTINE MATRIX_OUTPUT(
11 I myTime, myIter, myThid )
12
13 C !DESCRIPTION:
14 C This is the controlling routine for MATRIX output. It is
15 C called from DO_THE_MODEL_IO.
16
17 C !USES:
18 IMPLICIT NONE
19 #include "SIZE.h"
20 #include "EEPARAMS.h"
21 #include "PARAMS.h"
22
23 C !INPUT PARAMETERS:
24 C myTime :: model time
25 C myIter :: time-step number
26 C myThid :: thread number
27 _RL myTime
28 INTEGER myIter
29 INTEGER myThid
30 CEOP
31
32 #ifdef ALLOW_MATRIX
33 C !LOCAL VARIABLES:
34
35 IF ( myIter.EQ.nIter0 ) THEN
36 C Write grid info for pkg/matrix
37 CALL MATRIX_WRITE_GRID( myThid )
38 ELSE
39 C Write matrix to file
40 CALL MATRIX_WRITE_TENDENCY( myTime, myIter, myThid )
41 ENDIF
42
43 #endif /* ALLOW_MATRIX */
44
45 RETURN
46 END

  ViewVC Help
Powered by ViewVC 1.1.22