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

FE API deprecation/changes #4077

Open
wants to merge 18 commits into
base: devel
Choose a base branch
from
Open

Conversation

roystgnr
Copy link
Member

As with #4076, this is a fraction of the changes in #4074, split by subsystem into its own PR for easier testing and review.

John added the replacements for these in 2020; it's time to ease users
off the old versions.
For elements where n_dofs() depends on the specific element, we need to
pass in the specific element.
The latter has to be deprecated, since without an Elem we can't make it
work on polygons+polyhedra
We need to deprecate that, since it won't work on polygons+polyhedra
This should fix incompatibilities with polygons/polyhedra
And make the non-deprecated version compatible with runtime-topology
elements.
Putting this in FEInterface was kind of an unintuitive decision in the
first place, and now that we're adding runtime-dependent element
topology like Polygons we're going to *need* a physical Elem to work
with in those cases.
This should make it compatible with Polygon, etc.
This also makes one of the app options redundant
We're already beginning a big shakeup for user code so we might as well
pull the bandaid off quickly.
Ripping off all the bandaids at once
libmesh_deprecated() is sometimes necessary, when one possible input is
deprecated but another supported, but if *any* call to a method is
deprecated we can just get rid of it completely in
`--disable-deprecated` builds.
@moosebuild
Copy link

Job Coverage, step Generate coverage on 7de408a wanted to post the following:

Coverage

075f8b #4077 7de408
Total Total +/- New
Rate 62.51% 62.34% -0.17% 67.18%
Hits 72989 73031 +42 350
Misses 43774 44126 +352 171

Diff coverage report

Full coverage report

Warnings

  • New new line coverage rate 67.18% is less than the suggested 90.0%

This comment will be updated on new commits.

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