On 7/19/21 1:50 PM, Corbin Foucart wrote:
> * It seems that since cell interior data (A inverse) is needed to
> premultiply the B operator (which contains face terms), it makes more
> sense to loop over each cell and handle the faces of the cell manually,
> like in step-51, which performs a similar element-local static condensation.
> * In the spirit of step-51, my idea is to use mesh_loop, but only use the
> cell-assembly part and pass dummy functions to the face_worker and
> boundary_worker arguments. Is that a sensible way to do it, or should I be
> using a different MeshWorker function?
> * Or alternatively, is there a way to use the face_worker function, but
> preserve the data on the cell to the left and right? It seems expensive to
> recompute the inverse mass matrix on every interface, for each adjacent cell.
All of these seem reasonable approaches. Unless you have concrete evidence
that whatever performance you get, going with the easiest-to-implement
approach is always the right choice!
Best
Wolfgang