GridRipper core library / Java
- Author:
- Peter Csizmadia
Fourth order precision Adaptive Mesh Refinement code and related tools.
The main parts are the following:
-
A partial differential equation, implemented by overriding
-
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
-
Parameters specified in the input file. They can be queried using the
argument of the PDE and InitCond constructors.
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.
Mathematics related classes and methods are available in the
gridripper::math package.
Optionally, the following classes can also be overridden: