Changeset 19057


Ignore:
Timestamp:
02/02/15 08:40:08 (10 years ago)
Author:
bdef
Message:

BUG: fixing things in colapse routines

File:
1 edited

Legend:

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

    r19032 r19057  
    703703                }
    704704
    705                 /*If mask was already one, keep one*/
     705                /*If mask was already one, keep one or colapse*/
    706706                else if(old_active[i]>0.){
    707707                       
     
    715715                                        epl_thickness[i]=init_thick;
    716716                                }
    717                                 else{
    718                                         vec_mask->SetValue(basalelement->nodes[i]->Sid(),1.,INS_VAL);
    719                                 }
    720717                        }
    721718                }
     
    724721                if(eplhead[i]>=h_max && active_element){
    725722                        for(j=0;j<numnodes;j++){
    726                                 if(old_active[j]>0.){
    727                                         vec_mask->SetValue(basalelement->nodes[i]->Sid(),1.,INS_VAL);
    728                                 }
    729723                                /*Increase of the domain is on the downstream node in term of sediment head*/
    730724                                if(sedhead[j] == sedheadmin){
Note: See TracChangeset for help on using the changeset viewer.