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

Initial support for surface coupling of two systems #1452

Merged
merged 94 commits into from
Jun 16, 2023
Merged

Conversation

SimonCan
Copy link
Contributor

@SimonCan SimonCan commented May 12, 2023

This adds a set of boundary coupling to Trixi.jl. A full set of boundary fluxes will be added after this merge.

This PR is based on the excellent work done by @efaulhaber @bennibolm @NichtLucas in #553.

Related issue tracker: #1520

@SimonCan SimonCan requested a review from sloede May 12, 2023 08:26
src/equations/hyperbolic_diffusion_2d.jl Outdated Show resolved Hide resolved
src/equations/hyperbolic_diffusion_2d.jl Outdated Show resolved Hide resolved
src/visualization/types.jl Outdated Show resolved Hide resolved
src/semidiscretization/semidiscretization_coupled.jl Outdated Show resolved Hide resolved
src/solvers/dgsem_structured/dg.jl Outdated Show resolved Hide resolved
src/solvers/dgsem_structured/dg_3d.jl Outdated Show resolved Hide resolved
ranocha
ranocha previously approved these changes Jun 11, 2023
@sloede
Copy link
Member

sloede commented Jun 11, 2023

I am slightly worried why save_solution_file for SemidiscretizationEulerGravity is not covered by tests anymore; it seems to me like there is something fishy going on:
https://coveralls.io/builds/60651096/source?filename=src%2Fsemidiscretization%2Fsemidiscretization_euler_gravity.jl#L422

My only explanation is that we accidentally implemented a more specific method that matches better than the one before, but somehow there's no complaint that something isn't working right 🤷‍♂️. Can anyone tell what's going on here?

@sloede
Copy link
Member

sloede commented Jun 11, 2023

I am slightly worried why save_solution_file for SemidiscretizationEulerGravity is not covered by tests anymore

Hopefully fixed in a69bf66.

@sloede sloede requested a review from ranocha June 11, 2023 09:13
@sloede sloede closed this Jun 11, 2023
@sloede sloede reopened this Jun 11, 2023
ranocha
ranocha previously approved these changes Jun 12, 2023
sloede
sloede previously approved these changes Jun 12, 2023
@sloede
Copy link
Member

sloede commented Jun 12, 2023

Since this PR is heavily based on #553, we should give appropriate credit. Whoever merges this, please add the following lines to the commit message:

Co-authored-by: Benjamin Bolm [email protected]
Co-authored-by: Erik Faulhaber [email protected]
Co-authored-by: Lucas Gemein [email protected]

@bennibolm @efaulhaber @NichtLucas Please update your email addresses with your GH email address in this post here directly such that the commits are appropriately attributed to you.

ranocha
ranocha previously approved these changes Jun 12, 2023
@SimonCan
Copy link
Contributor Author

The reduced code coverage seems to be related to code that is not part of this PR. Should we then go ahead with the merge?

@ranocha
Copy link
Member

ranocha commented Jun 14, 2023

Let's wait for the formatting PR first, please

@sloede sloede dismissed stale reviews from ranocha and themself via c6276ad June 16, 2023 13:45
@sloede
Copy link
Member

sloede commented Jun 16, 2023

@SimonCan I just merged main into this and applied the formatting. I hope I did everything correct. Please have a careful look at the current diff and let me know if you think everything is ok. If yes, and if the tests all pass, I will merge this as soon as possible.

Note: It would be also great if you could also verify that the formatter did not do something ugly with your changes that we should fix before merging to main.

@SimonCan
Copy link
Contributor Author

@sloede , according to my local tests using coupling and AnalysisCallback it works. Github's tests also seem to go through.

@sloede sloede merged commit 95518c5 into main Jun 16, 2023
@sloede sloede deleted the sc/coupled-reduced branch June 16, 2023 19:35
@SimonCan SimonCan mentioned this pull request Jun 20, 2023
1 task
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