spectral.TimeIntegrator# class spectral.TimeIntegrator(name: str, order: int, stages: int = 1)[source]# Bases: object Base class for time integration methods. Methods __init__ Initialize time integrator. step Take one time step. step(rhs: Callable, u: ndarray, t: float, dt: float) → ndarray[source]# Take one time step. Parameters: rhsCallableRight-hand side function f(u, t) unp.ndarrayCurrent solution tfloatCurrent time dtfloatTime step Returns: np.ndarraySolution at next time step