Changeset 22262
- Timestamp:
- 11/15/17 10:45:19 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/cores/movingfront_core.cpp
r22261 r22262 40 40 /* determine variables for extrapolation */ 41 41 num_extrapol_vars=0; 42 if(isstressbalance) num_extrapol_vars+=3; 42 if(isstressbalance){ 43 if(domaintype==Domain3DEnum) 44 num_extrapol_vars+=3; 45 else 46 num_extrapol_vars+=2; 47 } 43 48 if(ismasstransport) num_extrapol_vars+=1; 44 49 if(isthermal && domaintype==Domain3DEnum) num_extrapol_vars+=1; … … 48 53 extrapol_vars[index]=VxEnum; index++; 49 54 extrapol_vars[index]=VyEnum; index++; 50 extrapol_vars[index]=VzEnum; index++; 55 if(domaintype==Domain3DEnum){ 56 extrapol_vars[index]=VzEnum; index++; 57 } 51 58 } 52 if(ismasstransport){extrapol_vars[index]=ThicknessEnum; index++;} 59 if(ismasstransport){ 60 extrapol_vars[index]=ThicknessEnum; index++; 61 } 53 62 if(isthermal && domaintype==Domain3DEnum){ 54 if(isenthalpy){extrapol_vars[index]=EnthalpyEnum;} 55 else{extrapol_vars[index]=TemperatureEnum;} 63 if(isenthalpy){ 64 extrapol_vars[index]=EnthalpyEnum; 65 } 66 else{ 67 extrapol_vars[index]=TemperatureEnum; 68 } 56 69 index++; 57 70 }
Note:
See TracChangeset
for help on using the changeset viewer.