MKupperman / SmCodes

SMCODES - a Spectral Multigrid Chebyshev Ordinary Differential Equation Solver.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SMCODES: Spectral Multigrid Chebyshev Ordinary Differential Equation Solver

Cade Ballew, Michael Kupperman Amath 570

A python implementation of SMCODES, a semi-implicit time-stepping method with spectral flair.

A minimal example:

from SMCODES import SmcSolver

testfun = lambda x: - x
smc = SmcSolver(f, u0=1, hstep=1e-1, stages=4, do_implicit_solve=True)
times, soln = smc.solve()

About

SMCODES - a Spectral Multigrid Chebyshev Ordinary Differential Equation Solver.

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 95.6%Language:Python 4.4%