Changeset 16868


Ignore:
Timestamp:
11/21/13 15:54:11 (11 years ago)
Author:
bdef
Message:

BUG: Bug in retrieving the epl mask input

File:
1 edited

Legend:

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

    r16866 r16868  
    70287028        int        *doflist = NULL;
    70297029        bool       isefficientlayer;
     7030        bool       active_element;
    70307031        int        transfermethod;
    70317032        IssmDouble sed_trans,sed_thick;
     
    70367037        IssmDouble epl_head[numdof],sed_head[numdof];
    70377038
    7038         Input* active_element=NULL;
     7039        Input* active_element_input=NULL;
    70397040
    70407041        GetDofList(&doflist,NoneApproximationEnum,GsetEnum);
     
    70547055                case 1:
    70557056
    7056                         int analysis_type;
    7057                         parameters->FindParam(&analysis_type,AnalysisTypeEnum);
    7058                         active_element=inputs->GetInput(HydrologydcMaskEplactiveEltEnum); _assert_(active_element);
     7057                        active_element_input=inputs->GetInput(HydrologydcMaskEplactiveEltEnum); _assert_(active_element_input);
     7058                        active_element_input->GetInputValue(&active_element);
    70597059
    70607060                        GetInputListOnVertices(&activeEpl[0],HydrologydcMaskEplactiveNodeEnum);
     
    70687068                        sed_thick = matpar->GetSedimentThickness();
    70697069
    7070                         //              printf("Which analyse %i \n",analysis_type);
    7071 
    70727070                        if(!active_element){
    7073 
    7074                                 //printf("NoneActive\n");
    70757071
    70767072                                /*No transfer if the EPL is not active*/
     
    71017097                                        /*Assign output pointer*/
    71027098                                        transfer->SetValue(doflist[i],wh_trans,INS_VAL);
    7103                                         //printf("Computing, %e \n",wh_trans);
     7099
    71047100                                }
    71057101                        }
Note: See TracChangeset for help on using the changeset viewer.