Partial Differential Equations Toolbox | ![]() ![]() |
Boundary point matrix contributions for fast solvers of Poisson's equation.
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
.
![]() | pdetriq | poicalc | ![]() |