tsimulation.c: fix local inertia number (thanks K. Warburton) - cngf-pf - conti… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 91d9022ce33d2deaac4fdcd5449666bed15da45a | |
parent 2fcce824e39150443ffb4e35a4713395d6d81dc3 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 15 Dec 2022 14:20:38 -0600 | |
simulation.c: fix local inertia number (thanks K. Warburton) | |
Diffstat: | |
M simulation.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/simulation.c b/simulation.c | |
t@@ -573,7 +573,7 @@ local_fluidity(const double p, | |
if (mu - C / p <= mu_s) | |
return 0.0; | |
else | |
- return sqrt(p / rho_s * d * d) * ((mu - C / p) - mu_s) / (b * … | |
+ return sqrt(p / (rho_s * d * d)) * ((mu - C / p) - mu_s) / (b … | |
} | |
static void |