complex numbers in escript
Asked by
Antoine Lefebvre
I am trying to solve the Helmholtz equation for frequency domain acoustics. There is only one variable, the acoustic pressure.
This pressure is a complex quantity and the parameters of the boundary conditions are often complex numbers too.
First question: should I be able to make that work with escript?
As an example, I try to set a complex value to a boundary condition with:
bc = Scalar(0., FunctionOnBound
bc.setTaggedVal
but it seems the Scalar object does not support the complex data type...
Thanks for your help.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Lutz Gross
- Solved:
- Last query:
- Last reply:
To post a message you must log in.