Files
solver/OndselSolver/StableBackwardDifference.h
John Dupuy 3952f45945 WIP: fixes mac errors and warnings (#34)
* fixes mac errors and warnings; check on TODO items

* renamed function as override was not of virtual

* removed another using

* experimental adjustment

* move fcDot to public

* renaming things
2023-11-21 08:16:25 -07:00

32 lines
1.4 KiB
C++

/***************************************************************************
* 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<std::vector<FColDsptr>> ypast) override;
void instantiateTaylorMatrix() override;
void formTaylorRowwithTimeNodederivative(int i, int ii, int k) override;
void formTaylorMatrix() override;
double pvdotpv() override;
FColDsptr derivativepresentpastpresentDerivativepastDerivative(int n,
FColDsptr y, std::shared_ptr<std::vector<FColDsptr>> ypast,
FColDsptr ydot, std::shared_ptr<std::vector<FColDsptr>> ydotpast) override;
FColDsptr derivativewith(int deriv, std::shared_ptr<std::vector<FColDsptr>> series);
};
}