source:
issm/oecreview/Archive/11268-11286/ISSM-11269-11270.diff@
11515
Last change on this file since 11515 was 11515, checked in by , 13 years ago | |
---|---|
File size: 1008 bytes |
-
proj/ice/larour/issm-uci-clean/trunk-jpl/src/c/modules/ModelProcessorx/Enthalpy/CreateConstraintsEnthalpy.cpp
54 54 /*keep only this partition's nodes:*/ 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 62 62 }
Note:
See TracBrowser
for help on using the repository browser.