Trimmed serendipity#23
Closed
jmv2009 wants to merge 80 commits intofiredrakeproject:trimmedSerendipityfrom
Closed
Conversation
Remove pytest-cases dependency.
Add Github Actions
…re-element-weights Allow a QuadratureElement to take in the weights.
Rather than using sympy.evalf on each basis function for each point, use lambdify and splat the whole thing at once numerically. Takes tabulation from hundreds of seconds to tenths of seconds.
…pity serendipity: Massively speed up tabulation
Fix serendipity tabulation for non-3D cells
Radau points
setup: Ignore ambiguous variable names for flake8
…rpolation-nodes Improved interpolation nodes for RT and N1curl elements. Selected by specifying `variant="integral"` to the constructor.
lambdify doesn't preserve shape when the result is zero. Fixes firedrakeproject/firedrake#1783.
…ity-derivs Broadcast result of lambdify in Serendipity tabulation
Previously we advertised the interior integral moments as eating functions with shape (). This is incorrect, and breaks creation of RestrictedElements with only the interior dofs, since the dual space construction fails [it expects the dual to eat functions of shape (space_dimension, )].
…oment N1curl: Correctly advertise shape of interior moments
Implement Arnold-Winther and Mardal-Tai-Winther elements Co-authored-by: Patrick Farrell <patrick@pefarrell.org> Co-authored-by: Francis Aznaran <francis.aznaran@gmail.com>
These are H1-conforming elements that admit diagonal mass matrices at high order when combined with special quadrature schemes. Co-authored-by: Rob Kirby <robert.c.kirby@gmail.com>
Add ability to construct a dual basis from a set of unisolvent points. Useful for elements that are defined directly by tabulation.
* pointwise_dual: Get correct spatial dimension * serendipity: Correct default entity We need to use get_dimension so that this does the right thing on tensor product cells. * serendipity: Use flattened element to construct unisolvent points * Add test of duals for serendipity in tensor and ufc element cases Co-authored-by: Rob Kirby <robert.c.kirby@gmail.com>
* replaced $ in manual.rst file by :math: * fix manual.rst
Implement numerical stable tabulation of (derivatives) of GL/GLL basis functions using the second barycentric interpolation formula of Berrut and Trefethen (2004).
|
Closing this one, as #24 has done an up-to-date merge with master. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 is an update to trimmedserendipity for flake compatibility. Afterwards, it could be pulled into master (or directly with #24, where contributions from the original authors are lost)