Discountinous Galerkin example

Hi everyone,

I saw two different ways to compute integral on internal edges and I was wondering which one is the right one. I saw using




I think this depends on your numerical algorithm.The general jump is defined as taking 0 on the boundary edge of the area. So I think the right way should be

LapDG2.edp (2.0 KB)

Maybe you can look at this example to see what I mean.

I want to compute the normal component of the mean of a vector on internal edges