GridRipper core library / C++

Authors:
Peter Csizmadia, Andras Laszlo

Introduction

Fourth order precision Adaptive Mesh Refinement code and related tools.

Parts of a physical model

The main parts are the following:

  1. A partial differential equation, implemented by overriding
  2. An initial condition. It should be a implementation, but it is usually recommended to override either If the initial condition is the solution of an ordinary differential equation, then one of the following InitCond implementations can be used: The ODE should be an implementation of
  3. Parameters specified in the input file. They can be queried using the argument of the PDE and InitCond constructors.

Expressions

The input file can contain mathematical expressions in its constants and definitions sections, these are interpreted and evaluated by the gridripper::math::expr package. Hence one can simply use UserDef as initial condition instead of creating his/her own implementation. If overriding is still necessary, the formulas in the input file can be accessed using the fnCollection field.

Math

Mathematics related classes and methods are available in the gridripper::math package.

Other overridable classes

Optionally, the following classes can also be overridden: