Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transpose and conjugate transposes #160

Open
Sentient07 opened this issue Jun 29, 2022 · 3 comments
Open

transpose and conjugate transposes #160

Sentient07 opened this issue Jun 29, 2022 · 3 comments

Comments

@Sentient07
Copy link

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!

@evantwout
Copy link
Collaborator

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

@Sentient07
Copy link
Author

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?

@evantwout
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants