File indexing completed on 2018-03-02 18:42:21 UTC
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
91672e10e3 Alis*0001 #include "MONITOR_OPTIONS.h"
1389d71047 Chri*0002
2741539ec0 Ed H*0003
0004
0005
0006
0007
0008 SUBROUTINE MON_SET_PREF( prefString, myThid )
0009
0010
0011
1389d71047 Chri*0012
2741539ec0 Ed H*0013
0014 IMPLICIT NONE
1389d71047 Chri*0015 #include "SIZE.h"
0016 #include "EEPARAMS.h"
0017 #include "MONITOR.h"
b2c0db823e Chri*0018 EXTERNAL IFNBLNK, ILNBLNK
0019 INTEGER IFNBLNK, ILNBLNK
1389d71047 Chri*0020
2741539ec0 Ed H*0021
1389d71047 Chri*0022
0023
0024 CHARACTER*(*) prefString
0025 INTEGER myThid
2741539ec0 Ed H*0026
1389d71047 Chri*0027
2741539ec0 Ed H*0028
1389d71047 Chri*0029
0030
0031 INTEGER I0, I1
0032 INTEGER IL
0033
e9b27c9813 Alis*0034
1389d71047 Chri*0035 CALL BAR2( myThid )
0036
0037
9b8b001637 Jean*0038 _BEGIN_MASTER(myThid)
1389d71047 Chri*0039 I0 = IFNBLNK( prefString )
0040 I1 = ILNBLNK( prefString )
0041 IL = I1-I0+1
0042 IF ( IL .LE. MAX_LEN_MBUF ) THEN
0043 mon_pref = ' '
0044 mon_prefL = IL
0045 mon_pref(1:IL) = prefString(I0:I1)
0046 ENDIF
9b8b001637 Jean*0047 _END_MASTER(myThid)
1389d71047 Chri*0048
0049
0050 CALL BAR2( myThid )
0051
0052 RETURN
0053 END