- Thank you received: 6
specify intrule in dx/ds formulation
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
5 years 2 months ago #1840
by Guosheng Fu
specify intrule in dx/ds formulation was created 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
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
5 years 2 months ago #1855
by joachim
Replied by joachim on topic specify intrule in dx/ds formulation
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:
Actually, it is also possible with the current code by this workaround:
By adding a dx-integral to a BilinearForm, it is internally converted to a SymbolicBFI.
best, Joachim
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)
best, Joachim
Attachments:
Time to create page: 0.106 seconds