Changeset 16986


Ignore:
Timestamp:
12/02/13 11:05:11 (11 years ago)
Author:
Mathieu Morlighem
Message:

BUG: kappa is supposed to be calculated from EnthalpyPicardEnum

File:
1 edited

Legend:

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

    r16975 r16986  
    236236
    237237        /*Enthalpy diffusion parameter*/
    238         IssmDouble kappa=this->EnthalpyDiffusionParameterVolume(element,EnthalpyEnum); _assert_(kappa>0.);
     238        IssmDouble kappa=this->EnthalpyDiffusionParameterVolume(element,EnthalpyPicardEnum); _assert_(kappa>0.);
    239239
    240240        /* Start  looping on the number of gaussian points: */
     
    332332        if(!element->IsOnBed() || !element->IsFloating()) return NULL;
    333333
     334        /*Intermediaries*/
    334335        IssmDouble  dt,Jdet,D;
    335336        IssmDouble *xyz_list_base = NULL;
    336 
    337         /*Get basal element*/
    338         if(!element->IsOnBed() || !element->IsFloating()) return NULL;
    339337
    340338        /*Fetch number of nodes for this finite element*/
Note: See TracChangeset for help on using the changeset viewer.