Hi,guys! I would like to inquire about the customization of ds and dS
Firstly, we perform rectangular partitioning on a disk:(The schematic diagram is as follows)
Yes. dS instructs the code generation such that the generated kernels takes in two cells, one on either side of the facet in question, while ds is a one-sided integral, only taking in a single cell index and its local facet index.
Yes, I understand.
What I am worried about is whether the surface of the ds integral will produce incorrect results if it is the boundary of the sub mesh, not the boundary of the mesh?(like this:)
I know the facets integral result will be assigned to the two units of the link.
dS on the boundary of the sub mesh(The red line in the picture),Will integral result be allocated back to the two units of the link?
The distinction between ds and dS seems to rely on the topological information of the mesh.