tInitialize residual for stress loop to NAN - cngf-pf - continuum model for gra… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 6bf9871c697e402e7189f19aca79d2831bcf94e4 | |
parent d161a2d9a8021dc7f610f0538d58785afe469bd8 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 16 Apr 2020 14:26:26 +0200 | |
Initialize residual for stress loop to NAN | |
Diffstat: | |
M simulation.c | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/simulation.c b/simulation.c | |
t@@ -750,6 +750,7 @@ coupled_shear_solver(struct simulation *sim, | |
double res_norm, r_norm_max, mu_wall_orig; | |
double *r_norm; | |
+ res_norm = NAN; | |
r_norm_max = NAN; | |
r_norm = empty(sim->nz); | |
mu_wall_orig = sim->mu_wall; |