tremove unused return type for transient timestep computation - cngf-pf - conti… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 52e50485fc2d2791a52be357ab9f2a29103b5254 | |
parent ad92a3ee9ff0823547bdc761073f8bb3370751b4 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 16 Feb 2021 15:35:52 +0100 | |
remove unused return type for transient timestep computation | |
Diffstat: | |
M simulation.c | 4 +--- | |
M simulation.h | 2 +- | |
2 files changed, 2 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/simulation.c b/simulation.c | |
t@@ -897,7 +897,7 @@ find_flux(const struct simulation *sim) | |
return flux; | |
} | |
-int | |
+void | |
set_coupled_fluid_transient_timestep(struct simulation *sim, const double safe… | |
{ | |
double max_gamma_dot, mu, xi, max_i, t_val; | |
t@@ -931,6 +931,4 @@ set_coupled_fluid_transient_timestep(struct simulation *si… | |
if (sim->dt > safety * t_val) | |
sim->dt = safety * t_val; | |
- | |
- return 0; | |
} | |
diff --git a/simulation.h b/simulation.h | |
t@@ -154,7 +154,7 @@ int coupled_shear_solver(struct simulation *sim, | |
const int max_iter, | |
const double rel_tol); | |
-int set_coupled_fluid_transient_timestep(struct simulation *sim, const double … | |
+void set_coupled_fluid_transient_timestep(struct simulation *sim, const double… | |
double find_flux(const struct simulation *sim); | |