3 |
|
|
4 |
#include "COST_OPTIONS.h" |
#include "COST_OPTIONS.h" |
5 |
|
|
6 |
subroutine cost_init_varia( mythid ) |
SUBROUTINE COST_INIT_VARIA( mythid ) |
7 |
|
|
8 |
c ================================================================== |
c ================================================================== |
9 |
c SUBROUTINE cost_init_varia |
c SUBROUTINE cost_init_varia |
53 |
c-- Initialize the tiled cost function contributions. |
c-- Initialize the tiled cost function contributions. |
54 |
do bj = jtlo,jthi |
do bj = jtlo,jthi |
55 |
do bi = itlo,ithi |
do bi = itlo,ithi |
56 |
|
tile_fc(bi,bj) = 0. _d 0 |
57 |
#if ( !defined (ALLOW_ECCO) || !defined (ALLOW_COST_ATLANTIC) ) |
#if ( !defined (ALLOW_ECCO) || !defined (ALLOW_COST_ATLANTIC) ) |
58 |
objf_atl(bi,bj) = 0. _d 0 |
objf_atl(bi,bj) = 0. _d 0 |
59 |
#endif |
#endif |
72 |
#endif |
#endif |
73 |
c |
c |
74 |
#ifdef ALLOW_COST |
#ifdef ALLOW_COST |
75 |
do k=1,nr |
do k=1,Nr |
76 |
do j=1,sNy |
do j=1,sNy |
77 |
do i=1,sNx |
do i=1,sNx |
78 |
cMeanTheta(i,j,k,bi,bj) = 0. _d 0 |
cMeanTheta(i,j,k,bi,bj) = 0. _d 0 |
120 |
|
|
121 |
_BARRIER |
_BARRIER |
122 |
|
|
123 |
return |
RETURN |
124 |
end |
END |