145 double _t = std::numeric_limits<double>::quiet_NaN();
147 std::numeric_limits<double>::quiet_NaN();
Global vector based on Eigen vector.
double getCurrentTime() const override
void setInitialState(const double t0) override
Sets the initial condition.
double getPreviousTimeIncrement() const override
Returns the value of from the previous time step.
void getWeightedOldX(GlobalVector &y, GlobalVector const &x_old) const override
Returns .
void nextTimestep(const double t, const double delta_t) override
double _delta_t
the timestep size
double _delta_t_prev
The timestep size of the previous timestep.
double getCurrentTimeIncrement() const override
virtual void setInitialState(const double t0)=0
Sets the initial condition.
virtual double getCurrentTimeIncrement() const =0
virtual void nextTimestep(const double t, const double delta_t)=0
TimeDiscretization()=default
virtual double getCurrentTime() const =0
virtual ~TimeDiscretization()=default
virtual double getPreviousTimeIncrement() const =0
Returns the value of from the previous time step.
virtual void getWeightedOldX(GlobalVector &y, GlobalVector const &x_old) const =0
Returns .