Changeset 14969


Ignore:
Timestamp:
05/08/13 15:52:52 (12 years ago)
Author:
bdef
Message:

BUG: still working on the residual value

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

Legend:

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

    r14967 r14969  
    19141914                }
    19151915                /*Add input to the element: */
    1916                 this->inputs->AddInput(new TriaP1Input(BasisIntegralEnum,values));
    1917                
     1916                this->inputs->AddInput(new TriaP1Input(name,values));
    19181917                /*Free ressources:*/
    19191918                xDelete<int>(doflist);
     1919                return;
     1920
    19201921        default:
    19211922       
     
    61906191                /*Loading term*/
    61916192                water_input->GetInputValue(&water_load,gauss);
    6192                 if(this->id==1) printf("Qin %e \n ", water_load);
    61936193                scalar = Jdet*gauss->weight*water_load;
    61946194                if(reCast<bool,IssmDouble>(dt)) scalar = scalar*dt;
     
    62486248                /*Loading term*/
    62496249                residual_input->GetInputValue(&residual_load,gauss);
    6250                 if(this->id==1) printf("Qres %e \n ", residual_load);
    62516250                scalar = Jdet*gauss->weight*residual_load;
    62526251                if(reCast<bool,IssmDouble>(dt)) scalar = scalar*dt;
     
    63546353        this->inputs->GetInputValue(&converged,ConvergedEnum);
    63556354        GetInputListOnVertices(&intbasis[0],BasisIntegralEnum);
    6356 
    6357         if(this->id==1) printf("val %e \n ", values[1]);
    63586355       
    63596356        if(converged){
     
    63726369                }
    63736370                if(this->id==1){
    6374                         printf("res  %e val %e h-max %e Stor %e \n ", residual[1], values[1], h_max, sediment_storing);
     6371                        printf("res  %e val %e h-max %e Stor %e intbasis %e\n ", residual[1], values[1], h_max, sediment_storing, intbasis[1]);
    63756372                        printf("kappa %e kmax %e pen %e dt %e \n", kappa, kmax,penalty_factor,dt);
    63766373                }
     
    64636460
    64646461        GetDofList(&doflist,NoneApproximationEnum,GsetEnum);
     6462        GetVerticesCoordinates(&xyz_list[0][0],vertices,NUMVERTICES);
    64656463
    64666464        /* Start looping on the number of gaussian points: */
  • issm/trunk-jpl/src/c/solvers/solver_hydro_nonlinear.cpp

    r14967 r14969  
    3333        /*Recover parameters: */
    3434        femmodel->parameters->FindParam(&isefficientlayer,HydrologydcIsefficientlayerEnum);
     35        femmodel->SetCurrentConfiguration(HydrologyDCInefficientAnalysisEnum);//FIXME
     36        femmodel->BasisIntegralsx();
    3537        hydro_maxiter=100;
    3638        count=1;
     
    3840
    3941        for(;;){
     42               
     43                /*Computing the transfer term
     44                       
     45
     46                 */
     47
     48               
    4049
    4150                /*First layer*/
Note: See TracChangeset for help on using the changeset viewer.