Skip to content
/ dg1d Public

[Experiment/self-study] Arbitrary-order solver for the 1D advection equation using a discontinuous Galerkin method.

Notifications You must be signed in to change notification settings

hsnyder/dg1d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dg1d

Arbitrary-order solver for the 1D advection equation using the discontinuous Galerkin method. Time discretisation is by the 4th order Runge-Kutta method. Written as self-study. There are a number of inefficiencies. Not recommended for "real" use.

Run make to build it, execute ./dg1d, then run ./vis.py to create an .mp4 file with the animated plot. Animation requires that ffmpeg is installed (along with python3, numpy, matplotlib).

Parameters and domain decomposition logic are all in the source code.

About

[Experiment/self-study] Arbitrary-order solver for the 1D advection equation using a discontinuous Galerkin method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published