Changeset 11314
- Timestamp:
- 02/03/12 10:55:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/objects/Elements/Penta.cpp ΒΆ
r11313 r11314 4271 4271 if(converged){ 4272 4272 /*Convert enthalpy into temperature and water fraction*/ 4273 for(i=0;i<numdof;i++) matpar->EnthalpyToThermal(&temperatures[i],&waterfraction[i],values[i],pressure[i]); 4273 for(i=0;i<numdof;i++){ 4274 matpar->EnthalpyToThermal(&temperatures[i],&waterfraction[i],values[i],pressure[i]); 4275 if(waterfraction[i]<0) _error_("Negative water fraction found in solution vector"); 4276 if(waterfraction[i]>1) _error_("Water fraction >1 found in solution vector"); 4277 } 4274 4278 4275 4279 this->inputs->AddInput(new PentaP1Input(EnthalpyEnum,values));
Note:
See TracChangeset
for help on using the changeset viewer.