/*************************************************************************** * Copyright (c) 2023 Ondsel, Inc. * * * * This file is part of OndselSolver. * * * * See LICENSE file for details about copyright. * ***************************************************************************/ #pragma once #include "FullRow.h" #include "LinearMultiStepMethod.h" namespace MbD { class StableBackwardDifference : public LinearMultiStepMethod { // public: FColDsptr derivativepresentpast(int order, FColDsptr y, std::shared_ptr> ypast) override; void instantiateTaylorMatrix(); void formTaylorRowwithTimeNodederivative(int i, int ii, int k); void formTaylorMatrix() override; double pvdotpv() override; FColDsptr derivativepresentpastpresentDerivativepastDerivative(int n, FColDsptr y, std::shared_ptr> ypast, FColDsptr ydot, std::shared_ptr> ydotpast); FColDsptr derivativewith(int deriv, std::shared_ptr> series); }; }