28 |
#endif |
#endif |
29 |
|
|
30 |
#include "cost.h" |
#include "cost.h" |
31 |
|
#ifdef ALLOW_AUTODIFF_TAMC |
32 |
|
# include "tamc.h" |
33 |
|
#endif |
34 |
|
|
35 |
C == Routine arguments == |
C == Routine arguments == |
36 |
C myThid - Thread number for this instance of the routine. |
C myThid - Thread number for this instance of the routine. |
64 |
C-- Calculate mask for tracer cells (0 => land, 1 => water) |
C-- Calculate mask for tracer cells (0 => land, 1 => water) |
65 |
! k=1 |
! k=1 |
66 |
|
|
67 |
|
#ifdef ALLOW_AUTODIFF_TAMC |
68 |
|
CADJ STORE surf_el_streamice = comlev1, key = ikey_dynamics, |
69 |
|
CADJ & kind = isbyte |
70 |
|
#endif |
71 |
|
|
72 |
C-- Calculate cost function on tile of this instance |
C-- Calculate cost function on tile of this instance |
73 |
do bj = jtlo,jthi |
do bj = jtlo,jthi |
74 |
do bi = itlo,ithi |
do bi = itlo,ithi |