Complex conjugates of test functions

More
3 years 1 month 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
More
3 years 1 month 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
Time to create page: 0.095 seconds