specify intrule in dx/ds formulation

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

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:

a += u*v*dx(intrules={TRIG:ir})

Actually, it is also possible with the current code by this workaround:

a.integrators[0].SetIntegrationRule(TRIG,ir)

By adding a dx-integral to a BilinearForm, it is internally converted to a SymbolicBFI.

best, Joachim

Attachment: test_intrule.py