Changeset 11363


Ignore:
Timestamp:
02/08/12 14:09:56 (13 years ago)
Author:
seroussi
Message:

switch back geothermal flux for NR

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/objects/Elements/Penta.cpp

    r11362 r11363  
    39033903                enthalpy_input->GetInputValue(&enthalpy,gauss);
    39043904                pressure_input->GetInputValue(&pressure,gauss);
    3905                 if(enthalpy>matpar->PureIceEnthalpy(pressure)){
    3906                         enthalpy_input->GetInputValue(&enthalpyup,gaussup);
    3907                         pressure_input->GetInputValue(&pressureup,gaussup);
    3908                         if(enthalpyup>matpar->PureIceEnthalpy(pressureup)){
    3909                                 //do nothing, don't add heatflux
    3910                         }
    3911                         else{
    3912                                 //need to change spcenthalpy according to Aschwanden
    3913                                 //NEED TO UPDATE
    3914                         }
    3915                 }
    3916                 else{
     3905//              if(enthalpy>matpar->PureIceEnthalpy(pressure)){
     3906//                      enthalpy_input->GetInputValue(&enthalpyup,gaussup);
     3907//                      pressure_input->GetInputValue(&pressureup,gaussup);
     3908//                      if(enthalpyup>matpar->PureIceEnthalpy(pressureup)){
     3909//                              //do nothing, don't add heatflux
     3910//                      }
     3911//                      else{
     3912//                              //need to change spcenthalpy according to Aschwanden
     3913//                              //NEED TO UPDATE
     3914//                      }
     3915//              }
     3916//              else{
    39173917                        geothermalflux_input->GetInputValue(&geothermalflux_value,gauss);
    39183918                        friction->GetAlpha2(&alpha2,gauss,VxEnum,VyEnum,VzEnum);
     
    39253925
    39263926                        for(i=0;i<numdof;i++) pe->values[i]+=scalar*basis[i];
    3927                 }
     3927//              }
    39283928        }
    39293929
Note: See TracChangeset for help on using the changeset viewer.