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

Testing for goal-oriented error estimation code #69

Merged
merged 42 commits into from
Dec 8, 2023
Merged

Conversation

jwallwork23
Copy link
Member

@jwallwork23 jwallwork23 commented Nov 30, 2023

Closes #68. Partially addresses #42.

The main aim of this PR is to get go_mesh_seq.py under the test harness so that we can tackle #55. It goes as far as covering all of the code except the bit that issue addresses. In a future PR, we will introduce a broken test for that part and then fix it.

This PR also moves indicators2estimator from being a function defined in error_estimation.py to being a method of GoalOrientedMeshSeq. This felt natural because it only has a single call site, in that class' fixed_point_iteration method.

The global_enrichment method of GoalOrientedMeshSeq is dropped as it is unused.

@jwallwork23 jwallwork23 added the testing Extensions and improvements to the testing infrastructure label Nov 30, 2023
@jwallwork23 jwallwork23 added this to the Version 1 milestone Nov 30, 2023
@jwallwork23 jwallwork23 self-assigned this Nov 30, 2023
@jwallwork23 jwallwork23 added the refactor A suggested reworking of the code label Nov 30, 2023
@jwallwork23 jwallwork23 marked this pull request as ready for review December 3, 2023 14:07
@jwallwork23 jwallwork23 linked an issue Dec 3, 2023 that may be closed by this pull request
Copy link
Collaborator

@stephankramer stephankramer left a comment

Choose a reason for hiding this comment

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

Yes, all looks good to me

@jwallwork23 jwallwork23 merged commit ea8787f into main Dec 8, 2023
1 check passed
@jwallwork23 jwallwork23 deleted the 68_go_test branch December 8, 2023 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor A suggested reworking of the code testing Extensions and improvements to the testing infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get go_mesh_seq under test
2 participants