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

Fix ONPolynomialSet normalization #63

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pbrubeck
Copy link

@pbrubeck pbrubeck commented Jan 8, 2024

ExpansionSet had an inconsistency and tabulated {1} for degree=0 and {P_j} for degree > 0, where P_0^2 = 1 / default_simplex(dim).volume().

This PR aims to correct the inconsistent definition of the constant member of the expansion set. In addition the expansion is now normalized on the domain it is defined (before the expansion functions had unit L2-norm only on the default simplex).

This changes the scale of some finite element basis functions, and thus breaks regression tests.

FIAT/polynomial_set.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant