Gowdy solver
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
numMethods/finiteDifferences.h File Reference

Macros to emit various finite differences (e.g., for approximating derivatives, or for the Keisser-Oliger term). More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define emitDerivative_r(f)
 emitDerivative_r is a macro that emits a method for the first derivative in r using the 2nd order central finite difference scheme.
#define emitDerivative_rr(f)
 emitDerivative_rr is a macro that emits a method for the second derivative in r using the 2nd order central finite difference scheme.
#define extrapolate_R(f, m, n)
 extrapolate_R is an optimized version of 4th order in accuracy extrapolation using the 4th order Taylor expansion.
#define extrapolate_RGF(f, m, n)
#define extrapolate_D(f, m, n)
 extrapolate_D is a linear extrapolation of the 4th order in accuracy (used for derivatives).
#define extrapolate_DGF(f, m, n)
#define KreissOligerTerm(f, dt)   ( - ( f(m,n-1) - 2* f(m,n) + f(m,n+1) ) * dissip_delta_r * (dt) )
 KreissOligerTerm is a macro that gives a Kreiss-Oliger dissipation term.
#define KreissOligerTermGF(f, dt)   ( - ( GF(f,m,n-1) - 2* GF(f,m,n) + GF(f,m,n+1) ) * dissip_delta_r * (dt) )

Detailed Description

Macros to emit various finite differences (e.g., for approximating derivatives, or for the Keisser-Oliger term).

Author:
Mikica Kocic

Definition in file finiteDifferences.h.