Skip to content

Conversation

@jwpeterson
Copy link
Member

@jwpeterson jwpeterson commented Nov 24, 2025

These APIs have been deprecated for a very long time (e43e345, Dec 2014), in release 0.9.5 and all subsequent releases. They are therefore also the oldest deprecated code I've run across during the latest cleanup activity.

Since we have moved away from reference-returning combined setter/getter APIs recently, and back towards separate APIs for setting and getting internal data (which is what the deprecated code actually did!) I also decided to augment the remaining API with a const value returning version and an overloaded setter version that takes an input. This seems more consistent with e.g. the more recent MeshBase accessor APIs.

These APIs have been deprecated for a very long time (e43e345, Dec
2014), in release 0.9.5 and all subsequent releases. They are
therefore also the oldest deprecated code I've run across during the
latest cleanup activity.

Since we have moved away from reference-returning combined
setter/getter APIs recently, and back towards separate APIs for
setting and getting internal data (which is what the deprecated code
actually did!) I also decided to augment the remaining API with a
const reference returning version and an overloaded setter version
that takes an input. This seems more consistent with e.g. the more
recent MeshBase accessor APIs.
@moosebuild
Copy link

Job Coverage, step Generate coverage on 108441b wanted to post the following:

Coverage

4d68ab #4342 108441
Total Total +/- New
Rate 65.26% 65.26% -0.00% -
Hits 77377 77376 -1 0
Misses 41183 41184 +1 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

@jwpeterson jwpeterson merged commit c144a6e into libMesh:devel Nov 25, 2025
21 checks passed
@jwpeterson jwpeterson deleted the drop_deprecated_mesh_refinement_enforce_mismatch_accessors branch November 26, 2025 14:40
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.

3 participants