From de98d7085052ebacb8b1f2576985811b35e49df8 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Thu, 28 Nov 2019 01:44:42 -0800 Subject: [PATCH] specify forward vs reverse --- meanas/fdmath/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meanas/fdmath/__init__.py b/meanas/fdmath/__init__.py index cf5e7d8..5017167 100644 --- a/meanas/fdmath/__init__.py +++ b/meanas/fdmath/__init__.py @@ -25,10 +25,13 @@ The derivatives are shifted by a half-cell relative to the original function: _________________________ | | | | | - | f0 | f1 | f2 | f3 | + | f0 | f1 | f2 | f3 | function |_____|_____|_____|_____| | | | | - | Df0 | Df1 | Df2 | Df3 + | Df0 | Df1 | Df2 | Df3 forward derivative (periodic boundary) + ___|_____|_____|_____|____ + | | | | + | Df1 | Df2 | Df3 | Df0 reverse derivative (periodic boundary) ___|_____|_____|_____|____ Periodic boundaries are used unless otherwise noted.