From 4144e6dc37670ada93651ffadfeec359bdb167e5 Mon Sep 17 00:00:00 2001 From: jan Date: Sat, 19 Nov 2022 19:33:50 -0800 Subject: [PATCH] update comment --- meanas/fdmath/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meanas/fdmath/__init__.py b/meanas/fdmath/__init__.py index 40c68e7..f010945 100644 --- a/meanas/fdmath/__init__.py +++ b/meanas/fdmath/__init__.py @@ -13,7 +13,7 @@ Discrete fields are stored in one of two forms: discrete indices referring to positions on the x, y, and z axes respectively. + For a vector field, the first index specifies which vector component is accessed: `E[:, m, n, p] = [Ex[m, n, p], Ey[m, n, p], Ez[m, n, p]]`. -- The `vfdfield_t` form is simply a vectorzied (i.e. 1D) version of the `field_t`, +- The `vfdfield_t` form is simply a vectorzied (i.e. 1D) version of the `fdfield_t`, as obtained by `meanas.fdmath.vectorization.vec` (effectively just `numpy.ravel`) Operators which act on fields also come in two forms: