111 |
#endif |
#endif |
112 |
#endif |
#endif |
113 |
|
|
114 |
|
#ifdef ALLOW_SEAICE |
115 |
|
C pkg/seaice requires a particular set of control parameters |
116 |
|
C which in turn require a particular set of input fields |
117 |
|
#ifndef ALLOW_ATM_WIND |
118 |
|
WRITE(msgBuf,'(A)') |
119 |
|
& 'The SEAICE adjoint requires ALLOW_ATM_WIND' |
120 |
|
CALL PRINT_ERROR( msgBuf , 1) |
121 |
|
STOP 'ABNORMAL END: S/R CTRL_CHECK' |
122 |
|
#endif |
123 |
|
#if (defined ALLOW_HFLUX_CONTROL || defined ALLOW_SFLUX_CONTROL || \ |
124 |
|
defined ALLOW_USTRESS_CONTROL || defined ALLOW_VSTRESS_CONTROL ) |
125 |
|
WRITE(msgBuf,'(A)') |
126 |
|
& 'The SEAICE adjoint does not allow the surface fluxes' |
127 |
|
CALL PRINT_ERROR( msgBuf , 1) |
128 |
|
WRITE(msgBuf,'(A)') 'ALLOW_HFLUX_CONTROL' |
129 |
|
CALL PRINT_ERROR( msgBuf , 1) |
130 |
|
WRITE(msgBuf,'(A)') 'ALLOW_SFLUX_CONTROL' |
131 |
|
CALL PRINT_ERROR( msgBuf , 1) |
132 |
|
WRITE(msgBuf,'(A)') 'ALLOW_USTRESS_CONTROL' |
133 |
|
CALL PRINT_ERROR( msgBuf , 1) |
134 |
|
WRITE(msgBuf,'(A)') 'ALLOW_VSTRESS_CONTROL' |
135 |
|
CALL PRINT_ERROR( msgBuf , 1) |
136 |
|
WRITE(msgBuf,'(A)') 'to be control vaiables' |
137 |
|
CALL PRINT_ERROR( msgBuf , 1) |
138 |
|
STOP 'ABNORMAL END: S/R CTRL_CHECK' |
139 |
|
#endif |
140 |
|
#endif /* ALLOW_SEAICE */ |
141 |
return |
return |
142 |
end |
end |