Skip to content

kissa8bit/poisson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Methods for solving Poisson's equation Δu(x,y) = g(x,y)

Build

mkdir build
cd build
cmake ..
cmake --build . --config Release

Results

g(x,y) = 0; boundary condition: ∂u/∂x = 0 ∂u/∂y = 0 additional conditions u = 2 if x ∈ [-2; 2], y ∈[0.5, 0.6]; u = - 2 if x ∈ [-2; 2], y ∈[-0.6, -0.5];

g(x,y) = 0 boundary condition: ∂u/∂x = 0 ∂u/∂y = 0 additional conditions u = 2 if x ∈ [-3; -2], y ∈[-1.5, -1.2]; u = 2 if x ∈ [2; 3], y ∈[-1.5, -1.2]; u = -2 if (x + 0.9)^2 + (y + 1.3)^2 < 0.1; u = -2 if (x - 0.9)^2 + (y + 1.3)^2 < 0.1; u = 1 if x^2 + (y + 1.3)^2 < 0.1;

g(x,y) = - 2 * π^2 * sin(π * x) * sin(π * y) boundary condition: ∂u = 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published