-
Notifications
You must be signed in to change notification settings - Fork 86
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
construct evaluation matrix #593
Comments
This is very closely related to the recent feature ‘flip interpolator as probes’ #573. That defined a
where Is this good enough? It'd be easy enough to rejig |
Isn't Should we have a separate method for returning |
Yes. Alternatively one could define |
I would need the linear operator and its transpose, so I'd be happy about a matrix of sorts. (Two operators would also work.) |
Interesting. I can't think what the transpose might be for, but it won't be hard to implement this so I'll have a go. Feel free to share the motivation if it's not too secret. I plan to soon be using |
How's #601? |
For sure! This is for smoothfit. The number 1 complaint is that people can't install it because of dolfin (understandable), so I thought I try out scikit-fem. In smoothfit, I have to solve a linear least-squares problem of the form where The can be solved with LSQR for which |
LGTM. |
Well, smoothfit is very interesting indeed; thank you very much. So in N-dimensions, eh? |
I still get
when using skfem from master. Just |
Ah, I get it: |
Yeah, |
I've ported smoothfit to skfem and I'm pretty happy with the result. Finally I can actually run tests on gh-actions without having pull some crazy PPA tricks! Tests are still failing because |
Alright, next release will be 3.0.0. I was expecting to further test and document some new features but we can always go for 3.0.x if any issues arise. I need to go through the issues and the changelog one more time and see if we are able to tag 3.0.0 in two weeks or so. |
Given a domain and a number of
points
within this domain, I would like to construct the small and fat evaluation matrixE
which, given coefficient vectorx
returnsE @ x
, the values of the corresponding finite element function at thepoints
. In FEniCS, I could doThe explicit loop doesn't hurt much since the number of
points
is usually small.Any hints?
The text was updated successfully, but these errors were encountered: