Skip to content
Solver for statics problems, given boundary conditions, using the Poisson equation.
C Python Shell Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
engine
frontend
results
tests
.gitignore
Makefile
README.md
converge_sin_300
converge_sin_300_sor
example_cond.txt
example_dipole.txt
example_flow.txt
example_sin.txt
example_sin_large.txt
fit.log
solver.h
test.txt

README.md

statics-solver

Solver for statics problems, given boundary conditions, using the Poisson equation.

This projects the work for my physics senior thesis at UC Santa Cruz. I plan to implement varying ways to actually solve the resulting linear algebra problem after discretizing a region for the Poisson equation. I've planned to do Jacobi iterations, successive-over-relaxation, and possibly a Fourier transform method using the FFT. Then I'll compare performance. I'm also going to make it multithreaded and use SIMD.

Fun stuff! It actually kinda works right now, though it's slow and the region conditions are hard-coded. But you can see it work: make && ./main 600 && python grad.py.

You can’t perform that action at this time.