To build application simply follow a few steps:
mkdir build
cd build
cmake ..
cmake --build . --config RELEASE
To run under linux
use:
./application/seidel
To run under windows
use:
.\application\Release\seidel.exe
Also you can set the keys to setup parametrs of the method. List of keys: TODO
This module is intended for constructing a difference scheme and solving the Dirichlet problem using the Seidel iterative method.
This module is intended to accumulate statistics and issue it to the user. It is also the output type for the Seidel method.
u(x,y)=1−x
x∈[−1,1],y∈[−1,1]
u(−1,y) = μ1(y) = -y, u(1,y) = μ2(y) = -y
u(x,−1) = μ(x) = −x, u(x,1) = μ(x) = −x
Δu = −4
n = 4, m = 4
x0 | x1 | x2 | x3 | x4 | |
---|---|---|---|---|---|
y4 | -1.000 | -0.250 | -0.000 | -0.250 | -1.000 |
y3 | -0.250 | 0.500 | 0.750 | 0.500 | -0.250 |
y2 | -0.000 | 0.750 | 1.000 | 0.750 | -0.000 |
y1 | -0.250 | 0.500 | 0.750 | 0.500 | -0.250 |
y0 | -1.000 | -0.250 | -0.000 | -0.250 | -1.000 |
x0 | x1 | x2 | x3 | x4 | |
---|---|---|---|---|---|
y4 | -1.000 | -0.250 | -0.000 | -0.250 | -1.000 |
y3 | -0.250 | 0.195 | 0.396 | 0.323 | -0.250 |
y2 | -0.000 | 0.281 | 0.391 | 0.396 | -0.000 |
y1 | -0.250 | 0.125 | 0.281 | 0.195 | -0.250 |
y0 | -1.000 | -0.250 | -0.000 | -0.250 | -1.000 |