From 685f204c329a59ae2245fa55b8639da73877f39d Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 13 Jan 2019 13:51:27 +0100 Subject: mg2d: make the cfl factor runtime-configurable --- mg2d.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mg2d.h') diff --git a/mg2d.h b/mg2d.h index c487215..f697b76 100644 --- a/mg2d.h +++ b/mg2d.h @@ -267,6 +267,11 @@ typedef struct MG2DContext { * Set to 0 to autodetect. Defaults to 1. */ unsigned int nb_threads; + + /** + * Time-stepping factor to use for relaxation. + */ + double cfl_factor; } MG2DContext; /** -- cgit v1.2.3