At the moment the domain coordinates are Sympy symbols but we don't specify them to be real.
Consequently when we take the real part of a complex expression of the coordinates, the resulting symbolic expression includes the imaginary part of the coordinate and eventually Pyccel throws an error.
Besides, setting the symbols to real simplifies considerably the expressions.
At the moment the domain coordinates are Sympy symbols but we don't specify them to be real.
Consequently when we take the real part of a complex expression of the coordinates, the resulting symbolic expression includes the imaginary part of the coordinate and eventually Pyccel throws an error.
Besides, setting the symbols to real simplifies considerably the expressions.