This package takes a .poly file that defines the problem boundary (see here to understand the file format) and solves the 2D screened Poisson equation:
subject to the Dirichlet boundary condition:
(The problem can be modified by editing prob_def.c
)
This was for a university project in 2011.
# in <root>/
git clone https://github.com/mm318/fem-solver-2d-poisson.git
# from <root>/
mkdir build
cd build
cmake ../fem-solver-2d-poisson
make
Usage:
FEM_Solver <.poly file>
Example:
# from <root>/build/
cd bin # current working directory needs to have the plstnd5.fnt and plxtnd5.fnt files
./FEM_Solver bicycle_seat # exclude the .poly extension
Tested on Ubuntu 20.04 and Ubuntu 22.04.