Changeset 22485
- Timestamp:
- 02/28/18 12:45:34 (7 years ago)
- Location:
- issm/trunk-jpl/src/c/analyses
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp
r22484 r22485 54 54 if (issurface[i]==1){ 55 55 spcvector[i*N+j] = heatcapacity*(spcvector[i*N+j]-referencetemperature); 56 spcvectorstatic[i*N+j] = nan("");56 spcvectorstatic[i*N+j] = NAN; 57 57 } 58 58 else{ 59 spcvector[i*N+j] = nan("");59 spcvector[i*N+j] = NAN; 60 60 spcvectorstatic[i*N+j] = heatcapacity*(spcvectorstatic[i*N+j]-referencetemperature); 61 61 } -
issm/trunk-jpl/src/c/analyses/ThermalAnalysis.cpp
r22484 r22485 50 50 for(int j=0;j<N;j++){ 51 51 if (isdynamic){ 52 if (issurface[i]==1)spcvectorstatic[i*N+j] = nan("");53 else spcvector[i*N+j] = nan("");52 if (issurface[i]==1)spcvectorstatic[i*N+j] = NAN; 53 else spcvector[i*N+j] = NAN; 54 54 } 55 55 }
Note:
See TracChangeset
for help on using the changeset viewer.