Maxwell Calderon operator weak form: dof transformations not supported for dense assembly.

81 views
Skip to first unread message

Jan Bohn

unread,
May 28, 2020, 5:02:40 AM5/28/20
to bempp
Hi Matthew,

I have the following problem in bempp-cl: I want to compute the weak form of the Maxwell Calderon operator with the default spaces.

import bempp.api
from bempp.api.operators.boundary import maxwell

grid = bempp.api.shapes.sphere(h=1.0)

calderon =  maxwell.multitrace_operator(grid, 1j*0.5)#, space_type="magnetic_dual", assembler="dense_evaluator", precision='single'   
caldwf =  calderon.weak_form()

This gives an error

" ValueError: Spaces that require dof transformations not supported for dense assembly."

In bempp 3.3.4 this worked, so is there something not yet implemented in bempp-cl or am I doing sth wrong? Changing to space_type="all_rwg" works, but I need the magnetic_dual.

Using assembler="dense_evaluator" gives some different error.

Thank you very much and all the best,
Jan

Matthew Scroggs

unread,
Jun 5, 2020, 3:15:27 AM6/5/20
to bempp
Hi Jan,

I believe this is a "not implemented yet". These spaces will work once FMM can be used (in the version currently in development).

Matthew Scroggs

unread,
Aug 6, 2020, 5:45:37 AM8/6/20
to bempp
Hi Jan,

The changes to make this work were yesterday merged into the master branch of bempp-cl.

These operators should now work if you set `assembler='fmm'`

You will need to install exafmm before doing this, there are instructions at https://bempp.com/installation.html#installing-from-source.

All the best,
Matthew
Message has been deleted

Jan Bohn

unread,
Aug 6, 2020, 7:55:26 AM8/6/20
to bempp
Hi Matthew,

thanks a lot!

Best,
Jan
Reply all
Reply to author
Forward
0 new messages