Changeset 8498
- Timestamp:
- 06/03/11 10:54:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/ModelProcessorx/Enthalpy/CreateConstraintsEnthalpy.cpp
r8483 r8498 43 43 if ((int)iomodel->spctemperature[2*i]){ 44 44 45 constraints->AddObject(new Spc(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,1,iomodel-> spctemperature[2*i+1],EnthalpyAnalysisEnum));45 constraints->AddObject(new Spc(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,1,iomodel->heatcapacity*(iomodel->spctemperature[2*i+1]-iomodel->referencetemperature),EnthalpyAnalysisEnum)); 46 46 count++; 47 47
Note:
See TracChangeset
for help on using the changeset viewer.