Changeset 19708
- Timestamp:
- 11/12/15 09:20:05 (9 years ago)
- Location:
- issm/trunk-jpl/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/modules/OutputResultsx/OutputResultsx.cpp ¶
r19506 r19708 42 42 femmodel->parameters->FindParam(&solutiontype,SolutionTypeEnum); 43 43 EnumToStringx(&solutiontypestring,solutiontype); 44 femmodel->results->AddResult(new GenericExternalResult<char*>(femmodel->results->Size()+1,SolutionTypeEnum,solutiontypestring,- 9999));44 femmodel->results->AddResult(new GenericExternalResult<char*>(femmodel->results->Size()+1,SolutionTypeEnum,solutiontypestring,-1)); 45 45 xDelete<char>(solutiontypestring); 46 46 } -
TabularUnified issm/trunk-jpl/src/m/solve/parseresultsfromdisk.py ¶
r19527 r19708 80 80 results[index]=resultsclass.results() 81 81 82 if index==0 and step==3:83 print result84 82 85 83 #Get time and step 86 84 setattr(results[index],'step',result['step']) 87 setattr(results[index],'time',result['time']) 85 if result['time'] != -9999.: 86 setattr(results[index],'time',result['time']) 88 87 89 88 #Add result
Note:
See TracChangeset
for help on using the changeset viewer.