1 |
C $Header: /u/gcmpack/models/MITgcmUV/pkg/mdsio/mdsio_write_rl_vec.F,v 1.1 2001/03/06 15:28:54 adcroft Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "MDSIO_OPTIONS.h" |
5 |
|
6 |
subroutine MDS_WRITE_RL_VEC( dUnit, irec, narr, arr, mythid ) |
7 |
C IN: |
8 |
C dunit integer - 'Opened' I/O channel |
9 |
C irec integer - record number to write |
10 |
C narr integer - dimension off array "arr" |
11 |
C arr _RL - model tiled vector |
12 |
C mythid integer - thread id |
13 |
C |
14 |
C Created: 03/29/99 eckert@mit.edu + adcroft@mit.edu |
15 |
|
16 |
implicit none |
17 |
|
18 |
#include "EEPARAMS.h" |
19 |
|
20 |
C Arguments |
21 |
integer dUnit |
22 |
integer irec |
23 |
integer narr |
24 |
integer mythid |
25 |
_RL arr(narr) |
26 |
C Local |
27 |
character*(max_len_mbuf) msgbuf |
28 |
C ------------------------------------------------------------------ |
29 |
write(msgbuf,'(a,i9.8,2x,i9.8)') |
30 |
& ' MDS_WRITE_RL_VEC: irec = ',irec,narr |
31 |
cab change start |
32 |
#ifndef ALLOW_FLT |
33 |
call print_message( msgbuf, standardmessageunit, |
34 |
& SQUEEZE_RIGHT , mythid) |
35 |
#endif |
36 |
can change end |
37 |
write(dUnit,rec=irec) arr |
38 |
C ------------------------------------------------------------------ |
39 |
return |
40 |
end |