Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit generates the proper orthonormal rational functions for the pyramid. See #894
Still doing more checks on the derivatives, especially around p=q.
The Lagrangian elements have a problem with these functions at the top vertex (nan), even though the limit is well defined.
These are not yet the orthonormal rational functions that we want though. The first generated proper rational function here are (2x-1+z)(2y-1+z)/(1-z). This should be x y/(1-z) as in Cockburn and Fu and https://defelement.org/elements/examples/pyramid-lagrange-equispaced-1.html However, for orthogonality purposes, the base should then be from -1,-1,zmin to 1,1,zmin and the peak at 0,0,1. This will keep the admissiblity/compatibility. Alternatively it should be (x-1/2)(y-1/2)/(1-z) with the regular base peak at 1/2,1/2,1. So in the end the tilted, asymmetric pyramid is a bad choice. To get the 1 and 2-forms going without immediately needing to apply piola transformations doesn't seems to work.