specify intrule for edge-wise calculations

More
6 years 2 months ago #745 by Guosheng Fu
Hello,

I am having trouble using the intrule flag. I want to calculate the edge-wise integral using a higher order quadrature rule. The last line of the following code gives me a segmentation fault:
Code:
V = L2(mesh, order=1,dgjumps=True) u,v = V.TnT() a = BilinearForm(V) ir = IntegrationRule(SEGM, 5) a += SymbolicBFI(u*v, skeleton=True, intrule = ir)

Best,
Guosheng
More
6 years 2 months ago #746 by joachim
you can use the other (now recommended) version:
Code:
a += SymbolicBFI(u*v, skeleton=True).SetIntegrationRule(SEGM, ir)

the faulting version is also fixed
More
6 years 2 months ago #747 by Guosheng Fu
Time to create page: 0.104 seconds