32 |
#include "EEPARAMS.h" |
#include "EEPARAMS.h" |
33 |
#include "PARAMS.h" |
#include "PARAMS.h" |
34 |
c************************************** |
c************************************** |
|
#ifdef ALLOW_AUTODIFF_TAMC |
|
|
|
|
35 |
c These includes are needed for |
c These includes are needed for |
36 |
c AD-checkpointing. |
c AD-checkpointing. |
37 |
c They provide the fields to be stored. |
c They provide the fields to be stored. |
66 |
c mythid - thread number for this instance of the routine. |
c mythid - thread number for this instance of the routine. |
67 |
integer mythid |
integer mythid |
68 |
|
|
69 |
|
#ifdef ALLOW_AUTODIFF_TAMC |
70 |
c == local variables == |
c == local variables == |
71 |
|
|
72 |
integer bi,bj |
integer bi,bj |
524 |
StoreSEAICE(I,J,bi,bj,3) = HSNOW(I,J,bi,bj) |
StoreSEAICE(I,J,bi,bj,3) = HSNOW(I,J,bi,bj) |
525 |
StoreSEAICE(I,J,bi,bj,4) = TICE(I,J,bi,bj) |
StoreSEAICE(I,J,bi,bj,4) = TICE(I,J,bi,bj) |
526 |
StoreSEAICE(I,J,bi,bj,5) = RUNOFF(I,J,bi,bj) |
StoreSEAICE(I,J,bi,bj,5) = RUNOFF(I,J,bi,bj) |
|
# ifdef SEAICE_MULTICATEGORY |
|
|
StoreSEAICE(I,J,bi,bj,6) = TICES(I,J,bi,bj) |
|
|
# else |
|
527 |
StoreSEAICE(I,J,bi,bj,6) = 0.0 |
StoreSEAICE(I,J,bi,bj,6) = 0.0 |
|
# endif |
|
528 |
# ifdef SEAICE_ALLOW_DYNAMICS |
# ifdef SEAICE_ALLOW_DYNAMICS |
529 |
StoreSEAICE(I,J,bi,bj,7) = UICE(I,J,bi,bj) |
StoreSEAICE(I,J,bi,bj,7) = UICE(I,J,bi,bj) |
530 |
StoreSEAICE(I,J,bi,bj,8) = VICE(I,J,bi,bj) |
StoreSEAICE(I,J,bi,bj,8) = VICE(I,J,bi,bj) |