Changeset 25750
- Timestamp:
- 11/13/20 14:46:30 (4 years ago)
- Location:
- issm/trunk-jpl/src/c/cores
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/cores/controladm1qn3_core.cpp
r25593 r25750 15 15 #include <sstream> // for output of the CoDiPack tape 16 16 #endif 17 18 void transient_ad(FemModel* femmodel); 17 19 18 20 #if defined (_HAVE_M1QN3_) && defined(_HAVE_AD_) … … 464 466 void controladm1qn3_core(FemModel* femmodel){/*{{{*/ 465 467 468 int checkpoint_frequency; 469 femmodel->parameters->FindParam(&checkpoint_frequency,SettingsCheckpointFrequencyEnum); 470 if(checkpoint_frequency){ 471 transient_ad(femmodel); 472 femmodel->OutputControlsx(&femmodel->results); 473 printf("No optimization implemented yet, skipping\n"); 474 return; 475 } 476 466 477 /*Intermediaries*/ 467 478 long omode; -
issm/trunk-jpl/src/c/cores/transient_core.cpp
r25680 r25750 453 453 delete hdl_setadjoint; 454 454 455 if(VerboseSolution()) _printf0_(" computing gradient\n");455 if(VerboseSolution()) _printf0_("computing gradient...\n"); 456 456 tape_codi.evaluate(); 457 457
Note:
See TracChangeset
for help on using the changeset viewer.