Complex conjugates of test functions

More
7 months 1 week ago #4044 by Ben_Latham
Hello,

I'm working on implementing a DtN method for a problem involving complex waves. Is it the case that if you have lines like:
Code:
fes = H1(mesh, order, complex=True) u,v=fes.TnT()
then ngsolve will read all instances of v as Conj(v)? Or will I need to manually write Conj(v) in my weak form? If the former, and I want to create a matrix with elements which do not have a conjugate, can I use Conj(v) to get these? Any clarification on this point would be helpful.

Best,
Ben

Please Log in or Create an account to join the conversation.

More
7 months 6 days ago #4045 by christopher
Hi,
the basis functions are always real, even in a complex space. Just the coefficients are complex. Therefore you can just use v.
Best
Christopher

Please Log in or Create an account to join the conversation.

Time to create page: 0.155 seconds