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

Added test for SolutionTransfer with hp-refinement and manually set flags. #14781

Merged
merged 1 commit into from Feb 17, 2023

Conversation

marcfehling
Copy link
Member

We did not have a simple test yet that checks if SolutionTransfer works when changing the FE indices.

@peterrum -- FYI

Copy link
Member

@peterrum peterrum left a comment

Choose a reason for hiding this comment

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

Thanks!

solution.reinit(locally_owned_dofs,
locally_relevant_dofs,
dofh.get_communicator());
soltrans.interpolate(solution);
Copy link
Member

Choose a reason for hiding this comment

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

This is the end of the test. Would it make sense to compute some diagnostic information from the so-interpolated vector? Say its l1 norm or some something one could output? Right now, all you test is that the test doesn't abort.

Copy link
Member Author

Choose a reason for hiding this comment

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

I've added the output of the l1 norm pre and post refinement.

Copy link
Member

Choose a reason for hiding this comment

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

Great, thanks!

@marcfehling
Copy link
Member Author

/rebuild

@masterleinad
Copy link
Member

/rebuild

@bangerth bangerth merged commit ad8e597 into dealii:master Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants