File indexing completed on 2018-03-02 18:43:05 UTC
view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
aa076db465 Ed H*0001 #include "REGRID_OPTIONS.h"
0002
0003
0004
0005
0006
0007
0008 SUBROUTINE REGRID_CHECK( myThid )
0009
0010
0011
0012
0013
0014 IMPLICIT NONE
0015 #include "SIZE.h"
0016 #include "EEPARAMS.h"
0017 #include "PARAMS.h"
0018 #include "REGRID_SIZE.h"
0019 #include "REGRID.h"
0020
0021
0022
0023 INTEGER myThid
0024
0025
0026
0027
0028 CHARACTER*(MAX_LEN_MBUF) msgBuf
0029
0030
0031 #ifdef ALLOW_REGRID
0032
0033 WRITE(msgBuf,'(A)') 'REGRID_CHECK: #define REGRID'
0034 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
0035 & SQUEEZE_RIGHT , 1)
0036
0037 _BEGIN_MASTER(myThid)
0038
0039 IF (.NOT. useMNC) THEN
0040 WRITE(msgBuf,'(A)') 'Regrid needs useMNC=.true.'
0041 CALL PRINT_ERROR( msgBuf , 1)
0042 STOP 'ABNORMAL END: S/R REGRID_CHECK'
0043 ENDIF
0044
0045 _END_MASTER(myThid)
0046
0047 #endif /* ALLOW_REGRID */
0048
0049 RETURN
0050 END