pyccel / sympde

Symbolic calculus for partial differential equations (and variational forms)
http://sympde.readthedocs.io/
MIT License
20 stars 4 forks source link

Add SesquilinearForm and complex space #133

Open tomcaruso opened 1 year ago

tomcaruso commented 1 year ago

This PR add the SesquilinearForm class and add the boolean variable codomain_complex to all the spaces

e-moral-sanchez commented 1 year ago

The discretization of the H1 norm gives an error. In Dot_1d(DotBasic).eval() in sympde/core/algebra.py it tries to access index 0 of conjugate, which is not indexable.

campospinto commented 2 months ago

These changes are useful and should allow to pass the tests proposed in psydac PR https://github.com/campospinto/psydac_dev/pull/11

It should also help solving issue #160 (in sympde) and https://github.com/campospinto/psydac_dev/issues/12 in psydac