On 4/20/23 02:57, Vidyesh Dapse wrote:
>
> I want a method that can give me a flag indicating "whether a given face of a
> particular cell requires ghost data for computation of face integral?"
This can only happen if you are on a locally owned cell and the neighboring
cell (across from the face you are considering) is a ghost cell. So the
condition would be
if (cell->is_locally_owned() && cell->neighbor(f)->is_ghost())
or something like this.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/