Ignore:
Timestamp:
01/15/14 10:59:22 (11 years ago)
Author:
jbondzio
Message:

CHG: Negative sign of md.mask.ice_levelset represents existence of ice. This way the normal computed by the level-set function points out of the ice domain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Loads/Numericalflux.cpp

    r16164 r17118  
    476476        /*Initialize Element matrix and return if necessary*/
    477477        Tria*  tria=(Tria*)element;
    478         if(tria->NoIceInElement()) return NULL;
     478        if(!tria->IsIceInElement()) return NULL;
    479479        ElementMatrix* Ke=new ElementMatrix(nodes,NUMNODES_INTERNAL,this->parameters);
    480480
     
    540540        ElementMatrix* Ke = NULL;
    541541        Tria*  tria=(Tria*)element;
    542         if(tria->NoIceInElement()) return NULL;
     542        if(!tria->IsIceInElement()) return NULL;
    543543
    544544        /*Retrieve all inputs and parameters*/
     
    629629        /*Initialize Element matrix and return if necessary*/
    630630        Tria*  tria=(Tria*)element;
    631         if(tria->NoIceInElement()) return NULL;
     631        if(!tria->IsIceInElement()) return NULL;
    632632        ElementMatrix* Ke=new ElementMatrix(nodes,NUMNODES_INTERNAL,this->parameters);
    633633
     
    692692        ElementMatrix* Ke = NULL;
    693693        Tria*  tria=(Tria*)element;
    694         if(tria->NoIceInElement()) return NULL;
     694        if(!tria->IsIceInElement()) return NULL;
    695695
    696696        /*Retrieve all inputs and parameters*/
     
    818818        ElementVector* pe = NULL;
    819819        Tria*  tria=(Tria*)element;
    820         if(tria->NoIceInElement()) return NULL;
     820        if(!tria->IsIceInElement()) return NULL;
    821821
    822822        /*Retrieve all inputs and parameters*/
     
    912912        ElementVector* pe = NULL;
    913913        Tria*  tria=(Tria*)element;
    914         if(tria->NoIceInElement()) return NULL;
     914        if(!tria->IsIceInElement()) return NULL;
    915915
    916916        /*Retrieve all inputs and parameters*/
Note: See TracChangeset for help on using the changeset viewer.