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

Mixed grid support for InterfaceValues #850

Open
AbdAlazezAhmed opened this issue Dec 5, 2023 · 0 comments
Open

Mixed grid support for InterfaceValues #850

AbdAlazezAhmed opened this issue Dec 5, 2023 · 0 comments

Comments

@AbdAlazezAhmed
Copy link
Collaborator

The current implementation uses two FaceValues and which face is here is determined by the topology of the grid (vertex_vertex_neighbor or face_face_neighbor). IIUC there's no guarantee that for an interface between two types of cells one type will always be here and the other will be there. So, with the current implementation we need number of InterfaceValues for a grid with n types of cells (that if we don't cache what types share an interface beforehand).

I assume we can just change which cell is here in InterfaceCache as InterfaceIterator contains the grid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants