Adaptive gradient-augmented level set method for a two-dimensional advection equation
- Install
git clone https://github.com/dkolom/GALA2D.git
make
The code has only been tested with g++.
- Execute
./gala2d
All parameters are hardcoded. Most of them are in main.cpp. The initial condition and the velocity field are defined in Fields.cpp. The finite-difference parameter is set in Solver.cpp (normally you should not change it).
- Postprocess
Matlab scripts in post_scripts.tar.gz can be used to visualize the solution and the mesh.
- Read the theoretical manual
acroread adaptive.pdf
TO DO:
-
Remove Solver::startupTree, because it is useless.
-
Move Solver::createMesh from Solver to QuadTree