Changeset 16716


Ignore:
Timestamp:
11/12/13 13:51:16 (11 years ago)
Author:
bdef
Message:

BUG: fixing bug in EPLDomain for L2 computation

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

Legend:

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

    r16715 r16716  
    1098810988                GetInputListOnVertices(&activeEpl[0],HydrologydcMaskEplactiveEnum);
    1098910989                for(int i=0;i<3;i++){
    10990                         if(!reCast<bool>(activeEpl[i]))this->nodes[i]->Deactivate();
     10990                        if(!reCast<bool>(activeEpl[i])){
     10991                                this->nodes[i]->Deactivate();
     10992                        }
     10993                        else{
     10994                                this->nodes[i]->Activate();
     10995                        }
    1099110996                }
    1099210997        }
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r16702 r16716  
    29602960        GetInputListOnVertices(&activeEpl[0],HydrologydcMaskEplactiveEnum);
    29612961        for(int i=0;i<NUMVERTICES;i++){
    2962                 if(!reCast<bool>(activeEpl[i]))this->nodes[i]->Deactivate();
     2962                if(!reCast<bool>(activeEpl[i])){
     2963                        this->nodes[i]->Deactivate();
     2964                }
     2965                else{
     2966                        this->nodes[i]->Activate();
     2967                }
    29632968        }
    29642969}
  • issm/trunk-jpl/src/c/solutionsequences/solutionsequence_hydro_nonlinear.cpp

    r16685 r16716  
    146146                                femmodel->parameters->SetParam(EplHeadSlopeYEnum,InputToL2ProjectEnum);
    147147                                solutionsequence_linear(femmodel);
     148
    148149                                femmodel->SetCurrentConfiguration(HydrologyDCEfficientAnalysisEnum);
    149 
    150150                                femmodel->HydrologyEPLThicknessx();
    151                                 //updating mask after the computation of the epl thickness
     151                                //updating mask after the computation of the epl thickness (Allow to close too thin EPL)
    152152                                femmodel->HydrologyEPLupdateDomainx();
     153
    153154                                femmodel->HydrologyTransferx();
    154155                                SystemMatricesx(&Kff,&Kfs,&pf,&df,NULL,femmodel);
  • issm/trunk-jpl/src/c/solutionsequences/solutionsequence_linear.cpp

    r16126 r16716  
    2323        femmodel->parameters->FindParam(&configuration_type,ConfigurationTypeEnum);
    2424        femmodel->UpdateConstraintsx();
     25        SystemMatricesx(&Kff,&Kfs,&pf,&df,NULL,femmodel);
    2526
    26         SystemMatricesx(&Kff,&Kfs,&pf,&df,NULL,femmodel);
    2727        CreateNodalConstraintsx(&ys,femmodel->nodes,configuration_type);
    2828        Reduceloadx(pf, Kfs, ys); delete Kfs;
Note: See TracChangeset for help on using the changeset viewer.