Examples of User-Defined Quadrature Using Values from Other Cells


39
views
0
11 days ago by
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
For a simple example, suppose I'd like to define some function on cell i that uses the 1st order neighbors of i (so the 1-neighbors (i.e. simply the neighbors sharing a face with cell i))

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?
written 10 days ago by Charlie Talbot  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »