specify intrule in dx/ds formulation

More
5 years 2 months ago #1840 by Guosheng Fu
Hello,

I am switching SymbolicBFIs to dx/ds syntax.
But, I can not specify user defined int-rules (e.g. mass lumping) in dx formulation.
Is there a fix?

Best,
Guosheng
More
5 years 2 months ago #1855 by joachim
Hi Guosheng,

Adding integration rules with the dx syntax was missing, I just added it.
You can now provide an integration rule for every element shape like that:
Code:
a += u*v*dx(intrules={TRIG:ir})

Actually, it is also possible with the current code by this workaround:
Code:
a.integrators[0].SetIntegrationRule(TRIG,ir)
By adding a dx-integral to a BilinearForm, it is internally converted to a SymbolicBFI.

best, Joachim
Attachments:
Time to create page: 0.106 seconds