pde: Numerical solver for a special case of the Telegrapher PDE

Description Usage Arguments Value

View source: R/implicitScheme.R

Description

A basic implicit scheme implementation for the formal analog of the Fokker-Planck equation in Minkowski space with one space dimension and sign convention -, +. The initial condition is the dirac delta function and the initial velocity is zero.

Usage

1
pde(x0, tt, N, M, sp = 1, xScale = 1, f = NULL)

Arguments

x0

initial point in space

tt

the time horizon

N

the time resolution (number of time sub-intervals)

M

the space resolution (number of space sub-intervals)

sp

the speed of light

xScale

scale up or down the space interval (x_0-ct, x0+ct)

f

the initial condition as a function of the space coordinate

Value

list of the time-grid, space-grid, and solution matrix.


shill1729/telegrapher documentation built on Dec. 23, 2021, 1:23 a.m.