From e2923dbaa73b0881b27bd3e45d9d33dc3faa40f4 Mon Sep 17 00:00:00 2001 From: prkkumar Date: Wed, 28 Aug 2024 10:58:43 -0700 Subject: [PATCH] add set_fast_time_step for mri --- ExampleCodes/SUNDIALS/Reaction-Diffusion/Source/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ExampleCodes/SUNDIALS/Reaction-Diffusion/Source/main.cpp b/ExampleCodes/SUNDIALS/Reaction-Diffusion/Source/main.cpp index 504469fd..3a77eee4 100644 --- a/ExampleCodes/SUNDIALS/Reaction-Diffusion/Source/main.cpp +++ b/ExampleCodes/SUNDIALS/Reaction-Diffusion/Source/main.cpp @@ -242,6 +242,8 @@ void main_main () integrator.set_time_step(dt); } + integrator.set_fast_time_step(0.1*dt); + for (int step = 1; step <= nsteps; ++step) { // Set time to evolve to