Changeset 6206


Ignore:
Timestamp:
Jan 19, 2009, 3:44:07 PM (10 years ago)
Author:
wilson
Message:

update 19/01/09

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/anuga_1d/channel_domain_ext.c

    r6159 r6206  
    100100    hrightstar = q_rightm[3];   
    101101
    102 
    103 
    104 
    105102    soundspeed_leftp = sqrt(g*h_leftp);
    106103    soundspeed_leftm = sqrt(g*h_leftm);
     
    136133
    137134        batemp = (h_leftp)*b_leftp-(h_leftm)*b_leftm;
    138 
    139         edgeflux[0] += s_maxl*s_minl*batemp;
     135                edgeflux[0] += s_maxl*s_minl*batemp;
    140136        edgeflux[0] /= denom;
    141137        edgeflux[1] = s_maxl*flux_left[1] - s_minl*flux_right[1];
     
    167163        batemp = (h_rightp)*b_rightp-(h_rightm)*b_rightm;
    168164
    169         edgeflux[0] += s_maxr*s_minr*batemp;
     165                edgeflux[0] += s_maxr*s_minr*batemp;
    170166        edgeflux[0] /= denom;
    171167        edgeflux[1] = s_maxr*flux_left[1] - s_minr*flux_right[1];
Note: See TracChangeset for help on using the changeset viewer.