@classmethod
def from_solver(cls, solver_class, model, **kwargs):
    """
        Create solver from solver class and prepare run method.
        """
    meta = model._meta
    solver = solver_class(meta.diff_fn, y0=meta.y0, t0=meta.t0)
    return cls(solver, model, **kwargs)
