Ignore:
Timestamp:
06/25/14 10:44:52 (11 years ago)
Author:
bdef
Message:

BUG: correction to epl gradient and modif in transfer scheme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/HydrologyDCEfficientAnalysis.cpp

    r18057 r18183  
    559559                                if(EPL_N<0.0)EPL_N=0.0;
    560560                                /*Get then the square of the gradient of EPL heads*/
    561                                 EPLgrad2 = (epl_slopeX[i]*epl_slopeX[i]+epl_slopeY[i]*epl_slopeY[i]);
     561                                EPLgrad2 = (epl_slopeX[i]+epl_slopeY[i])*(epl_slopeX[i]+epl_slopeY[i]);
    562562                               
    563563                                /*And proceed to the real thing*/
Note: See TracChangeset for help on using the changeset viewer.