-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
H inf sobolev space #117
H inf sobolev space #117
Conversation
Firedrake tests for this running at firedrakeproject/firedrake#2522 |
DOLFINx tests are failing with "AttributeError: 'VectorElement' object has no attribute 'sobolev_space'". I guess VectorElements and other elements need to be given Sobolev spaces (or we do something like #109, but I agree that this approach is probably better) |
It's 2030 on Friday evening here so I'm not going to get to this until Monday, but VectorElement should inherit the Sobolev space of it's scalar element. TensorElement should do the same. Oh, and BrokenElement should always be L2, no matter what the space of the original element (that being the point of BrokenElement). |
I've just started working on this in #118 and I'm relieved that these are exactly what I just implemented |
* Add nano swp files to .gitignore * MAke finiteelementbase into an abstract base class and add sobolev_space method * _ * restricted element is L2 * s * make fenicsx tests run * branches * _ not - * remove branch from test config * max
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note for a future UFL: we need to start from 'domains', on which spaces are defined, to make proper sense of function spaces.
* Add a Sobolev space spanning C infinity elements. * Put R space in HInf * Test Sobolev space additions. * Use Sobolev space as the restrictions check. * Add sobolev_space method to base finite element class (FEniCS#118) * Add nano swp files to .gitignore * MAke finiteelementbase into an abstract base class and add sobolev_space method * _ * restricted element is L2 * s * make fenicsx tests run * branches * _ not - * remove branch from test config * max * main fenics and ffc Co-authored-by: Matthew Scroggs <matthew.w.scroggs@gmail.com> Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
* Add a Sobolev space spanning C infinity elements. * Put R space in HInf * Test Sobolev space additions. * Use Sobolev space as the restrictions check. * Add sobolev_space method to base finite element class (FEniCS#118) * Add nano swp files to .gitignore * MAke finiteelementbase into an abstract base class and add sobolev_space method * _ * restricted element is L2 * s * make fenicsx tests run * branches * _ not - * remove branch from test config * max * main fenics and ffc Co-authored-by: Matthew Scroggs <matthew.w.scroggs@gmail.com> Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
Define an
HInf
Sobolev space to contain the "R" space.Cause apply_restrictions to use Sobolev space rather than a list of elements. This is an alternative to #109 .
Also clean up a few Sobolev space loose ends which appear to have drifted in along the way.