Changeset 18361


Ignore:
Timestamp:
08/11/14 09:36:32 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed Ulmin Ulmax, still diffusing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/solutionsequences/solutionsequence_fct.cpp

    r18357 r18361  
    232232
    233233                /*Compute Qis and Ris*/
    234                 double Qi_plus  = ml_serial[row]/deltat*(3. - u[row]);
    235                 double Qi_minus = ml_serial[row]/deltat*(2. - u[row]);
    236                 //double Qi_plus  = ml_serial[row]/deltat*(ulmax[row] - u[row]);
    237                 //double Qi_minus = ml_serial[row]/deltat*(ulmin[row] - u[row]);
     234                //double Qi_plus  = ml_serial[row]/deltat*(3. - u[row]);
     235                //double Qi_minus = ml_serial[row]/deltat*(2. - u[row]);
     236                double Qi_plus  = ml_serial[row]/deltat*(ulmax[row] - u[row]);
     237                double Qi_minus = ml_serial[row]/deltat*(ulmin[row] - u[row]);
    238238                _assert_(Qi_plus  >= 0.);
    239239                _assert_(Qi_minus <= 0.);
     
    389389        VecToMPISerial(&ml_serial  ,Ml_petsc,IssmComm::GetComm());
    390390
     391        /*Push uL to elements*/
     392        InputUpdateFromSolutionx(femmodel,u_serial);
     393
    391394        /*Anti diffusive fluxes*/
    392395        Vec         Fbar            = NULL;
Note: See TracChangeset for help on using the changeset viewer.