- Thank you received: 6
specify intrule for edge-wise calculations
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
6 years 2 months ago #745
by Guosheng Fu
specify intrule for edge-wise calculations was created 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:
Best,
Guosheng
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
6 years 2 months ago #746
by joachim
Replied by joachim on topic specify intrule for edge-wise calculations
you can use the other (now recommended) version:
the faulting version is also fixed
Code:
a += SymbolicBFI(u*v, skeleton=True).SetIntegrationRule(SEGM, ir)
the faulting version is also fixed
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
- Thank you received: 6
6 years 2 months ago #747
by Guosheng Fu
Replied by Guosheng Fu on topic specify intrule for edge-wise calculations
Thanks!
Time to create page: 0.104 seconds