source: issm/oecreview/Archive/11268-11286/ISSM-11269-11270.diff@ 11515

Last change on this file since 11515 was 11515, checked in by Eric.Larour, 13 years ago

Oecreview up to 11509

File size: 1008 bytes
  • proj/ice/larour/issm-uci-clean/trunk-jpl/src/c/modules/ModelProcessorx/Enthalpy/CreateConstraintsEnthalpy.cpp

     
    5454                /*keep only this partition's nodes:*/
    5555                if((iomodel->my_vertices[i])){
    5656
    57                         if ((int)spctemperature[2*i]){
     57                        if (!isnan(spctemperature[i])){
    5858
    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));
    6060                                count++;
    6161
    6262                        }
Note: See TracBrowser for help on using the repository browser.