Ferrite-FEM / Ferrite-FEM/Ferrite.jl

Mixed grid support for `InterfaceValues`

Aperta
#850 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Julia
Stelle
453
Fork
115
Merge medio
1g 17h
PR unite (30g)
11

Descrizione

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 `n²` 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.