### Examples of User-Defined Quadrature Using Values from Other Cells

39

views

0

Hi, I'd like to compute an integral that uses the value of u from neighboring cells (1st order neighbors and beyond). I am fundamentally confused as to how to define a custom quadrature rule, does anyone know of any examples that may be helpful? Thanks!

Community: FEniCS Project

Please login to add an answer/comment or follow this question.

Do I have to define a subdomain for each cell that consists of its neighbors? That doesn't seem right...

Perhaps I have to define a function to feed into the integral, and within this function operate on values defned on different cells?