Changeset 25793
- Timestamp:
- 12/01/20 10:50:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/cores/controladm1qn3_core.cpp
r25750 r25793 14 14 extern CoDi_global codi_global; 15 15 #include <sstream> // for output of the CoDiPack tape 16 void transient_ad(FemModel* femmodel); 16 17 #endif 17 18 void transient_ad(FemModel* femmodel);19 18 20 19 #if defined (_HAVE_M1QN3_) && defined(_HAVE_AD_) … … 469 468 femmodel->parameters->FindParam(&checkpoint_frequency,SettingsCheckpointFrequencyEnum); 470 469 if(checkpoint_frequency){ 470 #ifdef _HAVE_CODIPACK_ 471 471 transient_ad(femmodel); 472 472 femmodel->OutputControlsx(&femmodel->results); 473 473 printf("No optimization implemented yet, skipping\n"); 474 474 return; 475 #else 476 _error_("checkpointing not implemented for ADOLC"); 477 #endif 475 478 } 476 479
Note:
See TracChangeset
for help on using the changeset viewer.