117 |
#endif |
#endif |
118 |
ENDIF |
ENDIF |
119 |
ENDIF |
ENDIF |
120 |
C |
|
121 |
|
#ifndef DISABLE_WRITE_TO_UNIT_ZERO |
122 |
|
C-- also write directly to unit 0 : |
123 |
|
IF ( numberOfProcs .EQ. 1 .AND. nThreads .EQ. 1 ) THEN |
124 |
|
IF (iEnd.NE.0) WRITE(0,'(A)') message(1:iEnd) |
125 |
|
ENDIF |
126 |
|
#endif |
127 |
|
|
128 |
1000 CONTINUE |
1000 CONTINUE |
129 |
RETURN |
RETURN |
130 |
|
|
714 |
CALL PRINT_MESSAGE(msgBuf, standardMessageUnit, |
CALL PRINT_MESSAGE(msgBuf, standardMessageUnit, |
715 |
& SQUEEZE_RIGHT, 1) |
& SQUEEZE_RIGHT, 1) |
716 |
|
|
717 |
|
if (Nx.gt.MAX_LEN_PLOTBUF-20) THEN |
718 |
|
msgBuf = |
719 |
|
& 'Model domain too big to print to terminal - skipping I/O' |
720 |
|
CALL PRINT_MESSAGE(msgBuf, standardMessageUnit, |
721 |
|
& SQUEEZE_RIGHT, 1) |
722 |
|
RETURN |
723 |
|
endif |
724 |
|
|
725 |
C-- Write field |
C-- Write field |
726 |
C Figure out slice type and set plotting parameters appropriately |
C Figure out slice type and set plotting parameters appropriately |
727 |
C acc = accross the page |
C acc = accross the page |
1139 |
CALL PRINT_MESSAGE(msgBuf, standardMessageUnit, |
CALL PRINT_MESSAGE(msgBuf, standardMessageUnit, |
1140 |
& SQUEEZE_RIGHT, 1) |
& SQUEEZE_RIGHT, 1) |
1141 |
|
|
1142 |
|
if (Nx.gt.MAX_LEN_PLOTBUF-20) THEN |
1143 |
|
msgBuf = |
1144 |
|
& 'Model domain too big to print to terminal - skipping I/O' |
1145 |
|
CALL PRINT_MESSAGE(msgBuf, standardMessageUnit, |
1146 |
|
& SQUEEZE_RIGHT, 1) |
1147 |
|
RETURN |
1148 |
|
endif |
1149 |
|
|
1150 |
C-- Write field |
C-- Write field |
1151 |
C Figure out slice type and set plotting parameters appropriately |
C Figure out slice type and set plotting parameters appropriately |
1152 |
C acc = accross the page |
C acc = accross the page |
1447 |
#endif |
#endif |
1448 |
ENDIF |
ENDIF |
1449 |
ENDIF |
ENDIF |
1450 |
|
|
1451 |
|
#ifndef DISABLE_WRITE_TO_UNIT_ZERO |
1452 |
|
C-- if error message, also write directly to unit 0 : |
1453 |
|
IF ( numberOfProcs .EQ. 1 .AND. nThreads .EQ. 1 |
1454 |
|
& .AND. unit.EQ.errorMessageUnit ) THEN |
1455 |
|
iEnd = ILNBLNK( message ) |
1456 |
|
IF (iEnd.NE.0) WRITE(0,'(A)') message(1:iEnd) |
1457 |
|
ENDIF |
1458 |
|
#endif |
1459 |
C |
C |
1460 |
1000 CONTINUE |
1000 CONTINUE |
1461 |
RETURN |
RETURN |