Changeset 16758


Ignore:
Timestamp:
11/14/13 09:56:17 (11 years ago)
Author:
bdef
Message:

CHG : cleanup and change in mask update

Location:
issm/trunk-jpl/src/c
Files:
2 edited

Legend:

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

    r16756 r16758  
    73567356                /*If mask was alread one, keep one*/
    73577357                else if(old_active[i]>0.){
    7358                         if(epl_thickness[i]>0.0){
    7359                                 vec_mask->SetValue(nodes[i]->Sid(),1.,INS_VAL);
    7360                         }
    7361                         else{
    7362                                 vec_mask->SetValue(nodes[i]->Sid(),0.,INS_VAL);
    7363                         }
     7358                        vec_mask->SetValue(nodes[i]->Sid(),1.,INS_VAL);
     7359                }
     7360                /*If epl thickness gets under 0, close the layer*/
     7361                else if(epl_thickness[i]<0.0){
     7362                        vec_mask->SetValue(nodes[i]->Sid(),0.,INS_VAL);
    73647363                }
    73657364                /*Increase of the efficient system is needed if the epl head reach the maximum value (sediment max value for now)*/
  • issm/trunk-jpl/src/c/solutionsequences/solutionsequence_hydro_nonlinear.cpp

    r16716 r16758  
    118118                if(isefficientlayer){
    119119
    120                         /*Start by retrieving the EPL head slopes*/
    121                         /* if(VerboseSolution()) _printf0_("computing EPL Head slope...\n"); */
    122                         /* femmodel->SetCurrentConfiguration(L2ProjectionEPLAnalysisEnum); */
    123                         /* femmodel->parameters->SetParam(EplHeadSlopeXEnum,InputToL2ProjectEnum); */
    124                         /* solutionsequence_linear(femmodel); */
    125                         /* femmodel->parameters->SetParam(EplHeadSlopeYEnum,InputToL2ProjectEnum); */
    126                         /* solutionsequence_linear(femmodel); */
    127                        
    128120                        femmodel->SetCurrentConfiguration(HydrologyDCEfficientAnalysisEnum);
    129121                        InputUpdateFromConstantx(femmodel,true,ResetPenaltiesEnum);
Note: See TracChangeset for help on using the changeset viewer.