Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Domain coordinates should be real (#156)
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. --------- Co-authored-by: Martin Campos Pinto <[email protected]>
- Loading branch information