-
Notifications
You must be signed in to change notification settings - Fork 83
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
NotImplementedError when projecting during asm
#846
Comments
The error is very confusing, I'm sorry about that. This is the fix: skfem.asm(issue_demo, basis_p1, f1=f1, f0=basis_p1.project(basis_p0.interpolate(f0))) Moreover, we obviously need some checks in |
The thing is that |
The need for |
I've been considering about the possibility of subclassing ndarray but have so far have decided against it. Working with the native objects of numpy and scipy is somehow fundamental to this library. All other libraries have some kind of GridFunction and BilinearOperator instead of simple ndarray and scipy.sparse. While it would enable many automagic things I'd prefer keeping it this way. |
I think this issue and #847 are looking like pretty much the same thing now. Not sure if you can merge them... or maybe just close one of them. I think it boils down to DiscreteField needing a little more to duck type |
I'm trying to work with something from P0 and something from P1 in the same form. (Specifically, in the form I want to do
grad(w['thing_p1']) * w['thing_p0']
as part of a possible solution to #821.)But I've run into a
NotImplementedError
and I'm not too sure what isn't implemented.raises
The text was updated successfully, but these errors were encountered: