1 |
C $Header: $ |
2 |
C $Name: $ |
3 |
|
4 |
#include "MDSIO_OPTIONS.h" |
5 |
|
6 |
subroutine MDS_READ_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 mythid integer - thread id |
12 |
C OUT: |
13 |
C arr _RL - model tiled vector |
14 |
C |
15 |
C Created: 03/29/99 eckert@mit.edu + adcroft@mit.edu |
16 |
|
17 |
implicit none |
18 |
|
19 |
#include "EEPARAMS.h" |
20 |
|
21 |
C Arguments |
22 |
integer dUnit |
23 |
integer irec |
24 |
integer narr |
25 |
_RL arr(narr) |
26 |
integer mythid |
27 |
C Local |
28 |
character*(max_len_mbuf) msgbuf |
29 |
C ------------------------------------------------------------------ |
30 |
write(msgbuf,'(a,i9.8,2x,i9.8)') |
31 |
& ' MDS_READ_RL_VEC: irec = ',irec,narr |
32 |
call print_message( msgbuf, standardmessageunit, |
33 |
& SQUEEZE_RIGHT , mythid) |
34 |
read(dUnit,rec=irec) arr |
35 |
C ------------------------------------------------------------------ |
36 |
return |
37 |
end |