commit 136c109bb830196fda31e814d4c576e7b635f408
parent 5285ce751ed21099b871ba7fe65359dfc920e18c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 16 Apr 2020 15:58:40 +0200
Break long line
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fluid.c b/fluid.c
@@ -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