commit d2352ce3b61f0effffb1ffff16888e00b66cb013
parent 5e6b491c007eaf73cc937101f242f9c19227c277
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 19 Aug 2019 18:38:31 +0200
Fix stress iteration bug during long fluid runs, bump version to 0.4.1
Diffstat:
4 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/1d_fd_simple_shear.png b/examples/1d_fd_simple_shear.png
Binary files differ.
diff --git a/examples/1d_fd_simple_shear_rheology.png b/examples/1d_fd_simple_shear_rheology.png
Binary files differ.
diff --git a/examples/1d_fd_simple_shear_rheology_kamb.png b/examples/1d_fd_simple_shear_rheology_kamb.png
Binary files differ.
diff --git a/main.c b/main.c
@@ -7,7 +7,7 @@
#include "simulation.h"
#include "fluid.h"
-#define VERSION "0.4.0"
+#define VERSION "0.4.1"
#define PROGNAME "1d_fd_simple_shear"
#include "parameter_defaults.h"
@@ -291,9 +291,9 @@ main(int argc, char* argv[])
filetimeclock = 0.0;
iter = 0;
- stressiter = 0;
while (sim.t <= sim.t_end) {
+ stressiter = 0;
do {
if (sim.fluid) {
if (darcy_solver_1d(&sim, 10000, 1e-5))