-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enforcing Dirichlet conditions in ex21 raises IndexError or TypeError #609
Comments
That was with matplotlib 3.3.2; on (
and the |
Switching back to
but the figure is as I remembered it. |
I think there are a few different things going on here. |
Reverting to the current pytest -k ex21 tests/test_examples.py fail (although not terribly significantly, though I'm wondering why it fails here and not in CI):
|
The eigenvalues array([ 50196.0354868 +0.j, 251543.5420673 +0.j, 301209.62243364+0.j,
598306.24657617+0.j, 729163.50693683+0.j]) and array([ 50194.94436948+0.j, 251542.76238838+0.j, 301210.3979456 +0.j,
598305.23144065+0.j, 729165.63565666+0.j]) which I don't think is anything to worry about. I mean my previous fears about spurious eigenvalues don't seem to be relevant in the interesting part of the spectrum. |
I'm thinking that it should be possible to use scikit-fem/docs/examples/ex19.py Lines 81 to 84 in 56fe156
in IVPs #531 but I haven't quite worked it out yet. |
While following up the discussion of
enforce
#591, in particular in relation to generalized eigenvalue problems, I noticed that it had been used inscikit-fem/docs/examples/ex21.py
Line 88 in 56fe156
but then that running the example raises quite a lot of noise.
Is the
ComplexWarning
due to the loss of symmetry mentioned in #591 on 2021-04-02? I note that in §8.4.3 ‘Keeping the essential nodes’ of Ern & Guermond (2004, cited in #591):The text was updated successfully, but these errors were encountered: