Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aenq_v1_0.tar.gz(360 Kbytes)
Manuscript Title: A Matlab-Based Finite Difference Solver for the Poisson Problem with Mixed Dirichlet-Neumann Boundary Conditions
Authors: Ashton S. Reimer, Alexei F. Cheviakov
Program title: FDMRP 1.0
Catalogue identifier: AENQ_v1_0
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 184(2013)783
Programming language: Matlab 2010a.
Computer: PC, Macintosh.
Operating system: Windows, OSX, Linux.
RAM: 8GB (8,589,934,592 bytes)
Keywords: Poisson problem, Finite-difference solver, Matlab, Strongly heterogeneous boundary conditions, Narrow Escape Problems.
Classification: 4.3.

Nature of problem:
To solve the Poisson problem in a standard domain with "patchy surface"-type (strongly heterogeneous) Neumann/Dirichlet boundary conditions.

Solution method:
Finite difference with mesh refinement.

Restrictions:
Spherical domain in 3D; rectangular domain or a disk in 2D.

Unusual features:
Choice between mldivide/iterative solver for the solution of large system of linear algebraic equations that arise. Full user control of Neumann/Dirichlet boundary conditions and mesh refinement.

Running time:
Depending on the number of points taken and the geometry of the domain, the routine may take from less than a second to several hours to execute.