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

NEW: There is now an initial thickness for the EPL

File:
1 edited

Legend:

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

    r16721 r16725  
    21662166                                name==EplHeadEnum ||
    21672167                                name==HydrologydcEplThicknessOldEnum ||
     2168                                name==HydrologydcEplInitialThicknessEnum ||
    21682169                                name==HydrologydcEplThicknessEnum ||
    21692170                                name==HydrologydcMaskEplactiveEnum ||
     
    73707371        const int   numdof         = NDOF1 *NUMVERTICES;
    73717372        bool        isefficientlayer;
    7372         IssmDouble  n,A,dt;
     7373        IssmDouble  n,A,dt,init_thick;
    73737374        IssmDouble  rho_water,rho_ice;
    73747375        IssmDouble  gravity,latentheat,EPLgrad;
     
    73867387        if(isefficientlayer){
    73877388                /*For now, assuming just one way to compute EPL thickness*/
    7388                 rho_water  = matpar->GetRhoWater();
    7389                 rho_ice    = matpar->GetRhoIce();
    7390                 gravity    = matpar->GetG();
    7391                 latentheat = matpar->GetLatentHeat();
    7392                 n          = material->GetN();
    7393                 A          = material->GetAbar();
     7389                rho_water        = matpar->GetRhoWater();
     7390                rho_ice          = matpar->GetRhoIce();
     7391                gravity          = matpar->GetG();
     7392                latentheat       = matpar->GetLatentHeat();
     7393                epl_conductivity = matpar->GetEplConductivity();
     7394                init_thick       = matpar->GetEplInitialThickness();
     7395                n                = material->GetN();
     7396                A                = material->GetAbar();
    73947397               
    73957398                GetInputListOnVertices(&activeEpl[0],HydrologydcMaskEplactiveEnum);
     
    74017404                GetInputListOnVertices(&bed[0],BedEnum);
    74027405               
    7403                 epl_conductivity = matpar->GetEplConductivity();
    7404                
    74057406                for(int i=0;i<numdof;i++){
    74067407                        /*Keeping thickness to 1 if EPL is not active*/
    74077408                        if(activeEpl[i]==0.0){
    7408                                 thickness[i]=1.0;
     7409                                thickness[i]=init_thick;
    74097410                        }
    74107411                        else{
Note: See TracChangeset for help on using the changeset viewer.