tInitialize residual for stress loop to NAN - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
HTML git clone git://src.adamsgaard.dk/cngf-pf
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 6bf9871c697e402e7189f19aca79d2831bcf94e4
DIR parent d161a2d9a8021dc7f610f0538d58785afe469bd8
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
DIR 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;