Skip to content

Commit 92f078a

Browse files
committed
Merge branch 'master' of https://github.com/TITAN2D/titan2d
2 parents 945cf9c + 534edc2 commit 92f078a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/geoflow/integrators.C

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,7 +1557,7 @@ void Integrator_SinglePhase_Pouliquen_FirstOrder::corrector()
15571557
forcegrav = g[0][ndx] * h[ndx];
15581558

15591559
// the bed friction force for fast moving flow
1560-
forcebedx = h[ndx] * (g[2][ndx] * unitvx * mu - g[0][ndx] * kactxy[ndx] * dh_dx[ndx]);
1560+
forcebedx = h[ndx] * g[2][ndx] * (unitvx * mu + kactxy[ndx] * dh_dx[ndx]);
15611561

15621562
#ifdef STOPPED_FLOWS
15631563
if (IF_STOPPED == 2 && 1 == 0) {
@@ -1595,7 +1595,7 @@ void Integrator_SinglePhase_Pouliquen_FirstOrder::corrector()
15951595
forcegrav = g[1][ndx] * h[ndx];
15961596

15971597
// the bed friction force for fast moving flow
1598-
forcebedy = h[ndx] * (g[2][ndx] * unitvy * mu - g[1][ndx] * kactxy[ndx] * dh_dy[ndx]);
1598+
forcebedy = h[ndx] * g[2][ndx] * (unitvy * mu + kactxy[ndx] * dh_dy[ndx]);
15991599

16001600
#ifdef STOPPED_FLOWS
16011601
if (IF_STOPPED == 2 && 1 == 0) {

0 commit comments

Comments
 (0)