Giter VIP home page Giter VIP logo

ncmatmw2016's Introduction

Discontinuous Galerkin method

Material for the ATM Workshop on PDE and Mechanics held in Kerala School of Mathematics, Kozhikode, 4-6 Feb., 2016. See

http://cpraveen.github.io/teaching/ncmatmw2016.html

  • 1d_scalar_legendre: Solves linear convection equation with periodic bc
  • 1d_burger_legendre: Solves Burger's equation in 1d with periodic bc
  • 2d_scalar_unsteady_legendre: Solves 2d linear advection equation

All these codes are run as follows

cmake .
make release
./dg

In the 1d cases, you can run gnuplot to see any animation

gnuplot anim.gnu

The 2d code saves solution in vtk format which can viewed using Visit. To try adaptation in the 2d test case, make these changes and run the code

unsigned int n_points = 40;
unsigned int n_refine_init = 3;
unsigned int n_refine_interval = 5;

ncmatmw2016's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

hzhang1991

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.