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

Limiter to clip fields to zero #479

Merged
merged 3 commits into from
Feb 28, 2024
Merged

Limiter to clip fields to zero #479

merged 3 commits into from
Feb 28, 2024

Conversation

tommbendall
Copy link
Contributor

This adds a simple limiter to clip fields to remove any negative values.

There is an option to perform the clipping on the field as is (which prevents DoF values from being negative), but also to transform to some equispaced element and clip there (which when used for DG1 may prevent the polynomial expansion from going negative).

Copy link
Contributor

@jshipton jshipton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic - thanks @tommbendall !!

@jshipton jshipton merged commit 605064a into main Feb 28, 2024
4 checks passed
@jshipton jshipton deleted the TBendall/ZeroLimiter branch February 28, 2024 12:11
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.

2 participants