-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose inter-/histopolation matrices in GlobalProjector, add unit tes…
…ts (#347) Fixes #346. The inter-/histopolation matrices are now exposed in `GlobalProjector.imat_kronecker` as a `LinearOperator` object of type `KroneckerStencilMatrix` (in the case where both domain and codomain are scalar spaces) or `BlockLinearOperator` (in the case where at least one space is vector valued). The unit tests in `feec/tests/test_commuting_projections.py` have been enhanced: they now also test how close `imat_kronecker` is to being the right-inverse of the `solver`attribute (which uses a Kronecker product of 1D linear solvers). --------- Co-authored-by: Yaman Güçlü <[email protected]> Co-authored-by: Max Lindqvist <[email protected]> Co-authored-by: Martin Campos Pinto <[email protected]>
- Loading branch information
1 parent
66205a5
commit 5669252
Showing
4 changed files
with
228 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.