Changeset 20213


Ignore:
Timestamp:
02/18/16 17:22:51 (9 years ago)
Author:
jbondzio
Message:

BUG: update basal BC on all of the base, because otherwise this might lead to inconsitencies if node is shared by 2 CPUs and the grounding line moves across it

File:
1 edited

Legend:

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

    r20155 r20213  
    249249        if(!element->IsIceInElement()) return;
    250250
    251         /* Only update Constraints at the base of grounded ice*/
    252         if(!(element->IsOnBase()) || element->IsFloating()) return;
     251        /* Only update constraints at the base. */
     252        if(!(element->IsOnBase())) return;
    253253
    254254        /*Intermediary*/
     
    12081208void           EnthalpyAnalysis::GetBasalConstraints(Vector<IssmDouble>* vec_spc,Element* element){/*{{{*/
    12091209
    1210         /* Check if ice in element */
    1211         if(!element->IsIceInElement()) return;
    1212 
    1213         /* Only update Constraints at the base of grounded ice*/
    1214         if(!(element->IsOnBase()) || element->IsFloating()) return;
    1215 
    12161210        /*Intermediary*/
    12171211        bool        isdynamicbasalspc;
     
    12351229        if(!element->IsIceInElement()) return;
    12361230
    1237         /* Only update Constraints at the base of grounded ice*/
     1231        /* Only update constraints at the base.
     1232         * Floating ice is not affected by basal BC decision chart. */
    12381233        if(!(element->IsOnBase()) || element->IsFloating()) return;
    12391234
     
    13051300        if(!element->IsIceInElement()) return;
    13061301
    1307         /* Only update Constraints at the base of grounded ice*/
     1302        /* Only update constraints at the base.
     1303         * Floating ice is not affected by basal BC decision chart.*/
    13081304        if(!(element->IsOnBase()) || element->IsFloating()) return;
    13091305
Note: See TracChangeset for help on using the changeset viewer.