1 |
C $Header: /u/gcmpack/MITgcm/pkg/rw/set_write_global_fld.F,v 1.1 2001/08/17 18:34:42 adcroft Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "CPP_EEOPTIONS.h" |
5 |
|
6 |
SUBROUTINE GET_WRITE_GLOBAL_FLD ( flag ) |
7 |
IMPLICIT NONE |
8 |
C GET_WRITE_GLOBAL_FLD( flag ) gets the internal logical state |
9 |
C that indicates whether to write a "global" or "tiled" files. |
10 |
C READ_WRITE_FLD package should return |
11 |
C flag = .TRUE. indicates "global" files |
12 |
C flag = .FALSE. indicates "tiled" files |
13 |
C |
14 |
C Arguments (ouput) |
15 |
LOGICAL flag |
16 |
C Common |
17 |
COMMON /RD_WR_FLD/ globalFile |
18 |
LOGICAL globalFile |
19 |
C |
20 |
flag=globalFile |
21 |
C |
22 |
RETURN |
23 |
END |