|
IFEM
90A354
|
Helper class for Backwards Difference schemes for 2nd order problems. More...
#include <BDF.h>


Public Member Functions | |
| BDFD2 (int order=2, int step_=0) | |
| Default constructor. More... | |
| const std::vector< double > & | getCoefs () const override |
| Returns the BDF coefficients. | |
Public Member Functions inherited from TimeIntegration::BDF | |
| BDF (int order=0) | |
| Default constructor. More... | |
| virtual | ~BDF () |
| Empty destructor. | |
| void | setOrder (int order) |
| Initializes the coefficients for the specified order. | |
| int | getOrder () const |
| Returns the order to be used for current time step. | |
| int | getActualOrder () const |
| Returns the order of the scheme. | |
| short int | getDegree () const |
| Returns the degree of the time derivative approximation. | |
| bool | advanceStep (double dt=0.0, double dtn=0.0) |
| Advances the time stepping scheme. | |
| double | operator[] (int idx) const |
| Indexing operator returning the idx'th coefficient. | |
| template<class T > | |
| T | extrapolate (const std::vector< T > &values) const |
| Extrapolates values. More... | |
Protected Attributes | |
| std::vector< double > | coefs2 |
| BDF coefficients for second time step. | |
Protected Attributes inherited from TimeIntegration::BDF | |
| short int | degree |
| Degree of the time derivative approximation. | |
| int | step |
| Time step counter. | |
| std::vector< double > | coefs |
| The BDF coefficients. | |
| std::vector< double > | coefs1 |
| BDF coefficients for first time step. | |
Helper class for Backwards Difference schemes for 2nd order problems.
|
explicit |
Default constructor.
| [in] | order | The order of the BDF scheme |
| [in] | step_ | Initial step position |
References TimeIntegration::BDF::coefs, TimeIntegration::BDF::coefs1, coefs2, TimeIntegration::BDF::degree, and TimeIntegration::BDF::step.