13 |
# |
# |
14 |
ADTAMCFLAGS = -reverse -admark ad -i4 -r4 |
ADTAMCFLAGS = -reverse -admark ad -i4 -r4 |
15 |
ADTAFFLAGS = -reverse -admark ad -i4 -r4 \ |
ADTAFFLAGS = -reverse -admark ad -i4 -r4 \ |
16 |
-flow taf_flow.log -nonew_arg |
-l taf_ad.log -flow taf_ad_flow.log -nonew_arg |
17 |
FTLTAMCFLAGS = -forward -ftlmark g_ -i4 -r4 |
FTLTAMCFLAGS = -forward -ftlmark g_ -i4 -r4 |
18 |
FTLTAFFLAGS = -forward -ftlmark g_ -i4 -r4 \ |
FTLTAFFLAGS = -forward -ftlmark g_ -i4 -r4 \ |
19 |
-flow taf_flow.log -nonew_arg |
-l taf_ftl.log -flow taf_ftl_flow.log -nonew_arg |
20 |
SVDTAMCFLAGS = -reverse -forward -pure -i4 -r4 |
SVDTAMCFLAGS = -reverse -forward -pure -i4 -r4 |
21 |
SVDTAFFLAGS = -reverse -forward -pure -i4 -r4 \ |
SVDTAFFLAGS = -reverse -forward -pure -i4 -r4 \ |
22 |
-flow taf_flow.log -nonew_arg |
-flow taf_flow.log -nonew_arg |
23 |
# |
# |
24 |
# -warn_step -flow taf_flow.log |
# further useful options: -warn_step -flow taf_flow.log |
25 |
|
# NB: the svd option recommended in the TAMC manual doesn't work. |
26 |
|
|
27 |
DIFF_FLAGS = -toplevel the_main_loop \ |
DIFF_FLAGS = -toplevel the_main_loop \ |
28 |
-input ' xx_theta_dummy \ |
-input ' xx_theta_dummy \ |
331 |
$(PKG)/autodiff/tangentlinear_model.F_old ; \ |
$(PKG)/autodiff/tangentlinear_model.F_old ; \ |
332 |
cat tamc_code_ftl.f >> $(PKG)/autodiff/tangentlinear_model.F |
cat tamc_code_ftl.f >> $(PKG)/autodiff/tangentlinear_model.F |
333 |
|
|
334 |
|
bothchange: adchange ftlchange |
335 |
|
|
336 |
adrestore: |
adrestore: |
337 |
cp $(PKG)/autodiff/adjoint_model.F_template \ |
cp $(PKG)/autodiff/adjoint_model.F_template \ |
338 |
$(PKG)/autodiff/adjoint_model.F |
$(PKG)/autodiff/adjoint_model.F |
341 |
cp $(PKG)/autodiff/tangentlinear_model.F_template \ |
cp $(PKG)/autodiff/tangentlinear_model.F_template \ |
342 |
$(PKG)/autodiff/tangentlinear_model.F |
$(PKG)/autodiff/tangentlinear_model.F |
343 |
|
|
344 |
|
bothrestore: adrestore ftlrestore |
345 |
|
|
346 |
adtamc: adrestore ftlrestore small_f allcode admodeltamc |
adtamc: adrestore ftlrestore small_f allcode admodeltamc |
347 |
|
|
348 |
adtaf: adrestore ftlrestore small_f allcode admodeltaf |
adtaf: adrestore ftlrestore small_f allcode admodeltaf |
351 |
|
|
352 |
ftltaf: adrestore ftlrestore small_f allcode ftlmodeltaf |
ftltaf: adrestore ftlrestore small_f allcode ftlmodeltaf |
353 |
|
|
354 |
svdtaf: adrestore ftlrestore allcode svdmodeltaf |
bothtaf: bothrestore small_f allcode admodeltaf ftlmodeltaf |
355 |
|
|
356 |
|
svdtaf: adrestore ftlrestore small_f allcode svdmodeltaf |
357 |
|
|