pyccel / sympde

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

Fix bounds bug in `plot_3d_single_patch` #136

Closed anlavandier closed 1 year ago

anlavandier commented 1 year ago

This PR applies a one character fix in the function plot_3d_single_patch which would previously calculate the surface $\lbrace (x, y{\text{max}}, z) | (x, z) \in [x{\text{min}}, x{\text{max}}] \times [z{\text{min}}, z{\text{max}}] \rbrace$ using $x{\text{max}}$ instead of $y_{\text{max}}$.

anlavandier commented 1 year ago

Hi, I was looking through some of psydac and SymPDE's code and found this little mistake.