| Start page of documentation | Download the code | Documentation: PDF, PS |
| Previous: Embedding into a rectangular domain | Next: Correction terms |
Over
a regular grid with mesh widthes
and
in
and
directions respectively is imposed.
In code they are denoted by hx and hy.
and
, in code
nx and ny (ASSEMBLE/problem_setup.m) are the number of grid points
in
and
directions. Important is to note that number of
grid points should be counted in Matlab convention, it is,
starting from 1 and not from 0.
Due to the simplified geometry pre-processor which is used in the
online version of the code, the parameters
and
have to be
selected such that
and
are equal. This restriction can be
removed without any further changes if the geometry pre-processor is
replaced.
The
operator of (1) is discretised
in
by standard central finite differences:
The resulting standard finite difference matrix is denoted by
, is stored in variable A and computed by function
DIFFOP/sysmatrix_poisson.m.
| Previous: Embedding into a rectangular domain | Next: Correction terms |