Partial Differential Equation Toolbox |

poiasma

Boundary point matrix contributions for fast solvers of Poisson's equation

Syntax

-     K=poiasma(n1,n2,h1,h2)
      K=poiasma(n1,n2)
      K=poiasma(n)

Description

`K=poiasma(n1,n2,h1,h2)` assembles the contributions to the stiffness matrix from boundary points. `n1` and `n2` are the numbers of points in the first and second directions, and `h1` and `h2` are the mesh spacings. `K` is a sparse `n1*n2`-by-`n1*n2` matrix. The point numbering is the canonical numbering for a rectangular mesh.

`K=poiasma(n1,n2)` uses `h1=h2`.

`K=poiasma(n)` uses `n1=n2=n`.

See Also

`poiindex`, `poisolv`

| pdetriq |  | poicalc |