1 |
jmc |
1.2 |
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 |
adcroft |
1.1 |
|
4 |
jmc |
1.2 |
#include "CPP_EEOPTIONS.h" |
5 |
adcroft |
1.1 |
|
6 |
|
|
SUBROUTINE SET_WRITE_GLOBAL_FLD ( flag ) |
7 |
|
|
IMPLICIT NONE |
8 |
|
|
C SET_WRITE_GLOBAL_FLD( flag ) sets an internal logical state to |
9 |
|
|
C indicate whether files written by subsequent call to the |
10 |
|
|
C READ_WRITE_FLD package should create "global" or "tiled" files. |
11 |
|
|
C flag = .TRUE. indicates "global" files |
12 |
|
|
C flag = .FALSE. indicates "tiled" files |
13 |
|
|
C |
14 |
jmc |
1.2 |
C Arguments (input) |
15 |
adcroft |
1.1 |
LOGICAL flag |
16 |
|
|
C Common |
17 |
|
|
COMMON /RD_WR_FLD/ globalFile |
18 |
|
|
LOGICAL globalFile |
19 |
|
|
C |
20 |
|
|
globalFile=flag |
21 |
|
|
C |
22 |
|
|
RETURN |
23 |
|
|
END |