Changeset 24451
- Timestamp:
- 12/06/19 08:54:38 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/OutputResultsx/OutputResultsx.cpp
r24448 r24451 24 24 int solutiontype; 25 25 char* solutiontypestring = NULL; 26 bool dakota_analysis;27 bool dakota_output;28 26 29 /*retrieve parameters: */30 femmodel->parameters->FindParam(&dakota_analysis,QmuIsdakotaEnum);31 femmodel->parameters->FindParam(&dakota_output,QmuOutputEnum);32 27 33 28 /*recover my_rank:*/ 34 29 my_rank=IssmComm::GetRank(); 35 30 36 if(dakota_analysis & !dakota_output){ 37 //user wants to rely purely on Dakota analysis output, not the core output. 38 return; 31 /*If we are running dakota, do we want to output?*/ 32 bool dakota_analysis; 33 femmodel->parameters->FindParam(&dakota_analysis,QmuIsdakotaEnum); 34 if(dakota_analysis){ 35 bool dakota_output; 36 femmodel->parameters->FindParam(&dakota_output,QmuOutputEnum); 37 if(!dakota_output) return; 39 38 } 40 39
Note:
See TracChangeset
for help on using the changeset viewer.