You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to ask one question regarding 1d poisson example. It seems that $uj$ is not the true solution. At least the boundary conditions are different. From the numerical results, backward() is not transferring from spectral space to real space. Would you mind explaining this?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm assuming that you're referring to the dirichlet_poisson1d.py demo? uj is the solution in real space at the quadrature points. u_hat is the spectral Galerkin solution, that can be evaluated at any point in the domain. If you evaluate at the boundary, you should get the boundary condition (almost exactly)
In [1]: u_hat(-1.0)
Out[1]: array([-2.77555756e-17])
Hi,
I want to ask one question regarding 1d poisson example. It seems that$uj$ is not the true solution. At least the boundary conditions are different. From the numerical results, backward() is not transferring from spectral space to real space. Would you mind explaining this?
Thanks!
The text was updated successfully, but these errors were encountered: