- Thank you received: 0
Complex conjugates of test functions
- Ben_Latham
- Topic Author
- Offline
- New Member
Less
More
3 years 1 month ago #4044
by Ben_Latham
Complex conjugates of test functions was created 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:
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
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()
Best,
Ben
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
3 years 1 month ago #4045
by christopher
Replied by christopher on topic Complex conjugates of test functions
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
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