dedalus.tests.special_functions.bessel

Compute Bessel function by solving the Bessel equation:

x**2 f_xx + x f_x + (x**2 - A**2) f = 0 f(0) = 0 f(30) = B

Module Contents

default_params
dedalus_domain(N)

Construct Dedalus domain for solving the Airy equation.

dedalus_solution(A, B, N)

Use Dedalus to solve the Airy equation.

exact_solution(A, B, N)

Use scipy to construct exact solution to the Airy equation.

test_bessel(params=default_params)

Compare Dedalus and exact results.