Skip to content

Codim 2 coupling #731

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

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open

Codim 2 coupling #731

wants to merge 34 commits into from

Conversation

jorgensd
Copy link
Member

@jorgensd jorgensd commented Dec 5, 2024

This PR introduces code-generation for 3D-1D/2D-0D coupling over "ridges" of a cell.

It follows the same path as the mixed dimensional assembly for 3D-2D/2D-1D as made by @jpdean.

Currently, we only support "exterior" ridge integrals, meaning integrals with a one-sided (cell) view of the ridge.
This is due to the lack of arbitrary restriction operators within UFL.

The code does not touch any of the DOLFINx functionality/API, which will be in a separate PR.

The PR also adds type hints in some appropriate places.

@jorgensd jorgensd changed the title 3D-1D coupling Codim 2 coupling Jan 14, 2025
@jorgensd jorgensd marked this pull request as ready for review February 23, 2025 20:01
@jorgensd jorgensd requested review from jpdean and mscroggs February 23, 2025 20:02
@jorgensd jorgensd requested a review from garth-wells March 31, 2025 13:13
@coveralls
Copy link

coveralls commented Mar 31, 2025

Coverage Status

coverage: 82.568% (+0.5%) from 82.058%
when pulling 2f26b3a on dokken/3D-1D
into 6cf0882 on main.

@HoseongJeong
Copy link

HoseongJeong commented Apr 2, 2025

Thank you very much to Dokken and all the developers. If it's not too much trouble, could you kindly provide just one usage example? As for the embedded ridge, it’s not yet available for use, correct?

@jorgensd jorgensd mentioned this pull request May 9, 2025
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.

5 participants