tBreak long line - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
(HTM) git clone git://src.adamsgaard.dk/cngf-pf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 136c109bb830196fda31e814d4c576e7b635f408
(DIR) parent 5285ce751ed21099b871ba7fe65359dfc920e18c
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 16 Apr 2020 15:58:40 +0200
Break long line
Diffstat:
M fluid.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/fluid.c b/fluid.c
t@@ -11,7 +11,8 @@ hydrostatic_fluid_pressure_distribution(struct simulation *sim)
int i;
for (i=0; i<sim->nz; ++i)
sim->p_f_ghost[i+1] = sim->p_f_top
- + sim->phi[i]*sim->rho_f*sim->G*(sim->L_z - sim->z[i]);
+ + sim->phi[i]*sim->rho_f*sim->G
+ *(sim->L_z - sim->z[i]);
}
/* Determines the largest time step for the current simulation state. Note