Changeset 13548
- Timestamp:
- 10/04/12 20:55:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/dakota/DakotaPlugin.cpp
r13547 r13548 43 43 namespace SIM { 44 44 45 //constructor 46 DakotaPlugin::DakotaPlugin(const Dakota::ProblemDescDB& problem_db,void* in_femmodel):Dakota::DirectApplicInterface(problem_db){ 47 45 DakotaPlugin::DakotaPlugin(const Dakota::ProblemDescDB& problem_db,void* in_femmodel):Dakota::DirectApplicInterface(problem_db){/*{{{*/ 48 46 49 47 femmodel=in_femmodel; 50 48 counter=0; 51 } 52 53 //destructor 54 DakotaPlugin::~DakotaPlugin(){ /* Virtual destructor handles referenceCount at Interface level. */ } 55 56 int DakotaPlugin::derived_map_ac(const Dakota::String& driver) { 49 }/*}}}*/ 50 DakotaPlugin::~DakotaPlugin(){/*{{{*/ 51 /* Virtual destructor handles referenceCount at Interface level. */ 52 }/*}}}*/ 53 int DakotaPlugin::derived_map_ac(const Dakota::String& driver){/*{{{*/ 57 54 58 55 int i; … … 95 92 } 96 93 97 98 94 /*Free ressources:*/ 99 95 xDelete<IssmDouble>(variables); … … 106 102 107 103 return 0; 108 } 109 110 111 int DakotaPlugin::GetCounter(){ 104 }/*}}}*/ 105 int DakotaPlugin::GetCounter(){/*{{{*/ 112 106 return counter; 113 } 107 }/*}}}*/ 114 108 115 109 } // namespace SIM
Note:
See TracChangeset
for help on using the changeset viewer.