Ignore:
Timestamp:
12/01/21 12:19:06 (3 years ago)
Author:
vverjans
Message:

CHG: activate updated calculation of IceVolume() and TotalSmb() for partially ice-covered elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r26653 r26684  
    35493549        Element::GetInputListOnVertices(&lsf[0],MaskIceLevelsetEnum);
    35503550   /*Deal with partially ice-covered elements*/
    3551         if(false && (lsf[0]*lsf[1]<=0 || lsf[0]*lsf[2]<=0 || lsf[1]*lsf[2]<=0)){
     3551        if(lsf[0]*lsf[1]<=0 || lsf[0]*lsf[2]<=0 || lsf[1]*lsf[2]<=0){
    35523552                bool istrapneg;
    35533553      int point;
     
    54965496        /*Now get the average SMB over the element*/
    54975497        Element::GetInputListOnVertices(&lsf[0],MaskIceLevelsetEnum);
    5498         if(false && (lsf[0]*lsf[1]<=0 || lsf[0]*lsf[2]<=0 || lsf[1]*lsf[2]<=0)){
     5498        if(lsf[0]*lsf[1]<=0 || lsf[0]*lsf[2]<=0 || lsf[1]*lsf[2]<=0){
    54995499                /*Partially ice-covered element*/
    55005500                bool mainlyice;
Note: See TracChangeset for help on using the changeset viewer.