Skip to content
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

Q0 #266

Closed
gdmcbain opened this issue Dec 2, 2019 · 4 comments · Fixed by #267
Closed

Q0 #266

gdmcbain opened this issue Dec 2, 2019 · 4 comments · Fixed by #267

Comments

@gdmcbain
Copy link
Contributor

gdmcbain commented Dec 2, 2019

I see that ElementQuad0 isn't there. I want this for projecting (quadrilateral) Taylor–Hood #241 results for output to a finite volume code. I'll try adding it.

@gdmcbain
Copy link
Contributor Author

gdmcbain commented Dec 3, 2019

I see that ElementTriP0 isn't used anywhere. I wonder what a reasonable demonstration or test would be?

@gdmcbain
Copy link
Contributor Author

gdmcbain commented Dec 3, 2019

Perhaps I'll modify the forced convection ex25 from MeshTri to MeshQuad and then project to ElementQuad0 for plotting with MeshQuad.plot.

@gdmcbain gdmcbain mentioned this issue Dec 3, 2019
Merged
@gdmcbain
Copy link
Contributor Author

gdmcbain commented Dec 3, 2019

Qualms: Is it wrong to derive ElementQuad0 from ElementH1? Should the second value returned by lbasis, the gradient of the basis, be undefined rather then zero?

Is what's sought here more like a discontinuous Galerkin element? Or are P0, Q0, &c., conventionally accepted aberrations?

@gdmcbain
Copy link
Contributor Author

gdmcbain commented Dec 3, 2019

Is the rationale that the abscissæ X passed to lbasis are always quadrature points and so always interior (is that true?)? And there the gradient is indeed well defined and zero.

(I think I have seen quadrature rules with points on facets or vertices, but maybe only for special tricks which mightn't concern us here.)

@gdmcbain gdmcbain mentioned this issue Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant