Changeset 11270
- Timestamp:
- 01/31/12 11:05:43 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/ModelProcessorx/Enthalpy/CreateConstraintsEnthalpy.cpp
r10522 r11270 55 55 if((iomodel->my_vertices[i])){ 56 56 57 if ( (int)spctemperature[2*i]){57 if (!isnan(spctemperature[i])){ 58 58 59 constraints->AddObject(new SpcStatic(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,1,heatcapacity*(spctemperature[ 2*i+1]-referencetemperature),EnthalpyAnalysisEnum));59 constraints->AddObject(new SpcStatic(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,1,heatcapacity*(spctemperature[i]-referencetemperature),EnthalpyAnalysisEnum)); 60 60 count++; 61 61
Note:
See TracChangeset
for help on using the changeset viewer.