commit 2aa6aa3b8726328f87dd03a7d1dcf8ce4eaffb8a
parent 1c877c6d6993a67e2e45108a313d8dcebd8cb68b
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 24 Jun 2019 13:13:31 +0200
Two cosmetic changes
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fluid.c b/fluid.c
@@ -88,7 +88,7 @@ int darcy_solver_1d(
/* choose relaxation factor, parameter in ]0.0; 1.0]
* theta in ]0.0; 1.0]: underrelaxation
* theta = 1.0: Gauss-Seidel
- * theta > 1.0: overrrelaxation */
+ * theta > 1.0: overrelaxation */
const double theta = 0.05;
/* const double theta = 1.7; */
@@ -107,7 +107,6 @@ int darcy_solver_1d(
sim->p_f_mod_phase,
sim->p_f_top);
-
for (iter=0; iter<max_iter; ++iter) {
set_bc_dirichlet(sim->p_f_ghost, sim->nz, +1, p_f_top);