bempp/bempp-cl

transpose and conjugate transposes

Sentient07 opened this issue · 3 comments

Hello,

I'd like to transpose an operator which seemed to be possible in the legacy repository, however, i couldn't find an equivalent operation here. How would I go about?

Thanks!

A boundary operator does not have a transpose at the moment. You can transpose a discrete boundary operator: see here.

Thanks for the reply and sorry for the delayed response from my end, I construct single potential like shown in this example. How do I convert this to a discrete operator?

For a boundary integral operator op, you can obtain the discrete operator as wf=op.weak_form(). If necessary, you can convert it to a NumPy array as bempp.api.as_matrix(wf) or wf.to_dense().
Alternatively, use op.strong_form() to obtain the strong form of the operator.