Ignore:
Timestamp:
02/28/18 12:45:34 (7 years ago)
Author:
schlegel
Message:

CHG: use NAN to set static spc for the SMB Pdd schemes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp

    r22484 r22485  
    5454                                if (issurface[i]==1){
    5555                                        spcvector[i*N+j] = heatcapacity*(spcvector[i*N+j]-referencetemperature);
    56                                         spcvectorstatic[i*N+j] = nan("");
     56                                        spcvectorstatic[i*N+j] = NAN;
    5757                                }
    5858                                else{
    59                                         spcvector[i*N+j] = nan("");
     59                                        spcvector[i*N+j] = NAN;
    6060                                        spcvectorstatic[i*N+j] = heatcapacity*(spcvectorstatic[i*N+j]-referencetemperature);
    6161                                }
Note: See TracChangeset for help on using the changeset viewer.