Changeset 27079
- Timestamp:
- 06/19/22 15:37:04 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-larour-SLPS2022/src/c/modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp
r26468 r27079 12 12 #include "../InputUpdateFromConstantx/InputUpdateFromConstantx.h" 13 13 #include "../InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h" 14 #include "../UpdateMmesx/UpdateMmesx.h" 14 15 15 16 void InputUpdateFromDakotax(FemModel* femmodel,double* variables,char* *variables_descriptors,int numdakotavariables){ /*{{{*/ … … 97 98 else{ 98 99 /*Ok, standard variable, just update inputs using the variable: */ 99 if (VerboseQmu())_printf0_(" updating variable " << descriptor << " \n");100 if (VerboseQmu())_printf0_(" updating variable " << descriptor << "with value: " << variables[i] << "\n"); 100 101 InputUpdateFromConstantx(femmodel,variables[i],StringToEnumx(descriptor)); 101 102 } … … 142 143 } 143 144 145 /*Resole Mmes now that we have updated model ids: */ 146 UpdateMmesx(femmodel); 147 144 148 /*Save results:*/ 145 149 femmodel->results->AddResult(new GenericExternalResult<IssmPDouble*>(femmodel->results->Size()+1,"uq_variables",variables,numdakotavariables,1,1,0)); … … 176 180 177 181 } /*}}}*/ 178 if (strncmp(root,"SolidearthExternalModelid", 18)==0){ //external solid earth solution in solid earth class {{{182 if (strncmp(root,"SolidearthExternalModelid",25)==0){ //external solid earth solution in solid earth class {{{ 179 183 180 184 if(VerboseQmu()){
Note:
See TracChangeset
for help on using the changeset viewer.