New answers tagged

0 votes

Solving 2D Poisson equation with nonhomogeneous boundary conditions (Dirichlet) and a source

Here is a more complex implementation of the explicit SOR iteration with the compact 8-point stencil for higher accuracy. It is also Multithreaded in Cython if you wish to benchmark your CPU and post ...
1 vote
Accepted

Solving 2D Poisson equation with nonhomogeneous boundary conditions (Dirichlet) and a source

Here is a basic implementation of solving the problem $-\Delta u = f$ using matrix-free methods, which are prefereble for large PDE discretizations. The efficiency could be improved in the Laplacian ...
  • 1,262

Top 50 recent answers are included