Skip to content
Dmitry Kolomenskiy edited this page Feb 11, 2014 · 27 revisions

Welcome to the GALA2D wiki!

Adaptive gradient-augmented level set method for a two-dimensional advection equation

!!! WARNING !!! This version of the code at dkolom/GALA2D corresponds to the paper submitted to SISC in January 2014. The repository was forked to pseudospectators/GALA2D for further development.

  1. Install

git clone https://github.com/dkolom/GALA2D.git

make

The code has only been tested with g++.

  1. 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).

  1. Postprocess

Matlab scripts in post_scripts.tar.gz can be used to visualize the solution and the mesh.

  1. Read the theoretical manual

acroread adaptive.pdf

TO DO:

  1. Remove Solver::startupTree, because it is useless.

  2. Move Solver::createMesh from Solver to QuadTree

Clone this wiki locally