40 |
|
|
41 |
c == routine arguments == |
c == routine arguments == |
42 |
|
|
43 |
|
character*(80) fnamegeneric |
44 |
character*(MAX_LEN_FNAM) xx_gen_file |
character*(MAX_LEN_FNAM) xx_gen_file |
45 |
integer xx_genstartdate(4) |
integer xx_genstartdate(4) |
46 |
_RL xx_genperiod |
_RL xx_genperiod |
143 |
& xx_gen_file .EQ. xx_tauv_file ) |
& xx_gen_file .EQ. xx_tauv_file ) |
144 |
& call ctrl_smooth(xx_gen1,genmask) |
& call ctrl_smooth(xx_gen1,genmask) |
145 |
#endif |
#endif |
146 |
|
#ifdef ALLOW_SMOOTH_CORREL2D |
147 |
|
call smooth_correl2D(xx_gen1,genmask,1,mythid) |
148 |
|
call smooth_correl2Dw(xx_gen1,genmask,xx_gen_file,mythid) |
149 |
|
write(fnamegeneric(1:80),'(2a,i10.10)') |
150 |
|
& xx_gen_file(1:ilgen),'.effective.',optimcycle |
151 |
|
call mdswritefield(fnamegeneric,ctrlprec,.FALSE.,'RL', |
152 |
|
& 1, xx_gen1, gencount0, optimcycle, mythid) |
153 |
|
#endif |
154 |
endif |
endif |
155 |
|
|
156 |
if (( genfirst ) .or. ( genchanged )) then |
if (( genfirst ) .or. ( genchanged )) then |
164 |
& xx_gen_file .EQ. xx_tauv_file ) |
& xx_gen_file .EQ. xx_tauv_file ) |
165 |
& call ctrl_smooth(xx_gen1,genmask) |
& call ctrl_smooth(xx_gen1,genmask) |
166 |
#endif |
#endif |
167 |
|
#ifdef ALLOW_SMOOTH_CORREL2D |
168 |
|
call smooth_correl2D(xx_gen1,genmask,1,mythid) |
169 |
|
call smooth_correl2Dw(xx_gen1,genmask,xx_gen_file,mythid) |
170 |
|
write(fnamegeneric(1:80),'(2a,i10.10)') |
171 |
|
& xx_gen_file(1:ilgen),'.effective.',optimcycle |
172 |
|
call mdswritefield(fnamegeneric,ctrlprec,.FALSE.,'RL', |
173 |
|
& 1, xx_gen1, gencount1, optimcycle, mythid) |
174 |
|
#endif |
175 |
endif |
endif |
176 |
|
|
177 |
c-- Add control to model variable. |
c-- Add control to model variable. |