From 8faefff98d53c3dcfdb7b374b725264bf759ef62 Mon Sep 17 00:00:00 2001 From: jan Date: Mon, 5 Jul 2021 14:58:14 -0700 Subject: [PATCH] make vectorization docs point to the right functions --- meanas/fdfd/operators.py | 2 +- meanas/fdfd/solvers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meanas/fdfd/operators.py b/meanas/fdfd/operators.py index 0751f25..7f0a7ba 100644 --- a/meanas/fdfd/operators.py +++ b/meanas/fdfd/operators.py @@ -3,7 +3,7 @@ Sparse matrix operators for use with electromagnetic wave equations. These functions return sparse-matrix (`scipy.sparse.spmatrix`) representations of a variety of operators, intended for use with E and H fields vectorized using the - `meanas.vec()` and `meanas.unvec()` functions. + `meanas.fdmath.vectorization.vec()` and `meanas.fdmath.vectorization.unvec()` functions. E- and H-field values are defined on a Yee cell; `epsilon` values should be calculated for cells centered at each E component (`mu` at each H component). diff --git a/meanas/fdfd/solvers.py b/meanas/fdfd/solvers.py index a8a423a..c9f1ac5 100644 --- a/meanas/fdfd/solvers.py +++ b/meanas/fdfd/solvers.py @@ -74,7 +74,7 @@ def generic(omega: complex, """ Conjugate gradient FDFD solver using CSR sparse matrices. - All ndarray arguments should be 1D arrays, as returned by `meanas.vec()`. + All ndarray arguments should be 1D arrays, as returned by `meanas.fdmath.vectorization.vec()`. Args: omega: Complex frequency to solve at.