tDo not assign to r_norm_max before necessary - cngf-pf - continuum model for g… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 62de0798bf2610b9f8af2fa9ced9016bc6d1c8a3 | |
parent b33b0ac09f471045f4ba8258cab941a158bf0756 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 28 Jun 2019 12:11:57 +0200 | |
Do not assign to r_norm_max before necessary | |
Diffstat: | |
M fluid.c | 1 - | |
1 file changed, 0 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/fluid.c b/fluid.c | |
t@@ -137,7 +137,6 @@ darcy_solver_1d(struct simulation* sim, | |
dp_f_impl = zeros(sim->nz); | |
p_f_ghost_out = zeros(sim->nz+2); | |
r_norm = zeros(sim->nz); | |
- r_norm_max = NAN; | |
p_f_top = sine_wave(sim->t, | |
sim->p_f_mod_ampl, | |
sim->p_f_mod_freq, |