41 |
& C_basal_fric_const, n_basal_friction, |
& C_basal_fric_const, n_basal_friction, |
42 |
& streamice_vel_update,streamice_cg_tol,streamice_nonlin_tol, |
& streamice_vel_update,streamice_cg_tol,streamice_nonlin_tol, |
43 |
& streamice_nonlin_tol_fp, |
& streamice_nonlin_tol_fp, |
|
#if (defined (ALLOW_OPENAD) && defined (ALLOW_STREAMICE_OAD_FP)) |
|
|
& streamice_nonlin_tol_adjoint, |
|
|
#endif |
|
44 |
& streamice_max_cg_iter, streamice_max_nl_iter, |
& streamice_max_cg_iter, streamice_max_nl_iter, |
45 |
& streamice_maxcgiter_cpl, streamice_maxnliter_cpl, |
& streamice_maxcgiter_cpl, streamice_maxnliter_cpl, |
46 |
& STREAMICEthickInit, |
& STREAMICEthickInit, |
110 |
& streamice_use_petsc |
& streamice_use_petsc |
111 |
#endif |
#endif |
112 |
|
|
113 |
|
#if (defined (ALLOW_OPENAD) && defined (ALLOW_STREAMICE_OAD_FP)) |
114 |
|
NAMELIST /STREAMICE_PARMOAD/ |
115 |
|
& streamice_nonlin_tol_adjoint |
116 |
|
#ifdef ALLOW_PETSC |
117 |
|
& ,STREAMICE_OAD_petsc_reuse, |
118 |
|
& PETSC_PRECOND_OAD |
119 |
|
#endif |
120 |
|
#endif |
121 |
|
|
122 |
!#ifdef ALLOW_STREAMICE_FLUX_CONTROL |
!#ifdef ALLOW_STREAMICE_FLUX_CONTROL |
123 |
! NAMELIST /STREAMICE_PARMFLUXCTRL/ |
! NAMELIST /STREAMICE_PARMFLUXCTRL/ |
124 |
! & n_fluxes, n_epochs, |
! & n_fluxes, n_epochs, |
194 |
streamice_nonlin_tol_fp = 1.e-14 |
streamice_nonlin_tol_fp = 1.e-14 |
195 |
#if (defined (ALLOW_OPENAD) && defined (ALLOW_STREAMICE_OAD_FP)) |
#if (defined (ALLOW_OPENAD) && defined (ALLOW_STREAMICE_OAD_FP)) |
196 |
streamice_nonlin_tol_adjoint = 1.e-14 |
streamice_nonlin_tol_adjoint = 1.e-14 |
197 |
|
#ifdef ALLOW_PETSC |
198 |
|
PETSC_PRECOND_OAD = 'MUMPS' |
199 |
|
STREAMICE_OAD_petsc_reuse =.false. |
200 |
|
#endif |
201 |
#endif |
#endif |
202 |
streamice_max_cg_iter = 2000 |
streamice_max_cg_iter = 2000 |
203 |
streamice_max_nl_iter = 100 |
streamice_max_nl_iter = 100 |
378 |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
379 |
& SQUEEZE_RIGHT , 1) |
& SQUEEZE_RIGHT , 1) |
380 |
#endif |
#endif |
381 |
|
|
382 |
|
#if (defined (ALLOW_OPENAD) && defined (ALLOW_STREAMICE_OAD_FP)) |
383 |
|
READ(UNIT=iUnit,NML=STREAMICE_PARMOAD) |
384 |
|
WRITE(msgBuf,'(A)') |
385 |
|
& 'STREAMICE_READPARMS: read oad parm block' |
386 |
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
387 |
|
& SQUEEZE_RIGHT , 1) |
388 |
|
#endif |
389 |
|
|
390 |
READ(UNIT=iUnit,NML=STREAMICE_PARM03) |
READ(UNIT=iUnit,NML=STREAMICE_PARM03) |
391 |
WRITE(msgBuf,'(A)') |
WRITE(msgBuf,'(A)') |