Skip to content

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

Notifications You must be signed in to change notification settings

pseudospectators/GALA2D

 
 

Repository files navigation

GALA2D

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

  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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.2%
  • C 4.8%