Files
solver/OndselSolver/LinearMultiStepMethod.h
2023-11-14 09:33:24 -07:00

29 lines
1.2 KiB
C++

/***************************************************************************
* Copyright (c) 2023 Ondsel, Inc. *
* *
* This file is part of OndselSolver. *
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#pragma once
#include "DifferenceOperator.h"
namespace MbD {
class LinearMultiStepMethod : public DifferenceOperator
{
//
public:
FColDsptr derivativeatpresentpast(int n, double t, FColDsptr y, std::shared_ptr<std::vector<FColDsptr>> ypast);
virtual FColDsptr derivativepresentpast(int order, FColDsptr y, std::shared_ptr<std::vector<FColDsptr>> ypast);
virtual double pvdotpv();
double firstPastTimeNode();
virtual FColDsptr derivativepresentpastpresentDerivativepastDerivative(int n,
FColDsptr y, std::shared_ptr<std::vector<FColDsptr>> ypast,
FColDsptr ydot, std::shared_ptr<std::vector<FColDsptr>> ydotpast);
};
}