26 #if ! defined (octave_base_de_h)
27 #define octave_base_de_h 1
29 #include "octave-config.h"
41 : m_x (), m_t (0.0), m_stop_time (0.0), m_stop_time_set (false),
42 m_restart (true), m_integration_error (false), m_istate (0) { }
45 : m_x (xx), m_t (tt), m_stop_time (0.0), m_stop_time_set (false),
46 m_restart (true), m_integration_error (false), m_istate (0) { }
49 : m_x (a.m_x), m_t (a.m_t), m_stop_time (0.0), m_stop_time_set (false),
50 m_restart (true), m_integration_error (false), m_istate (0) { }
74 m_integration_error =
false;
83 double time (
void)
const {
return m_t; }
87 m_stop_time_set =
true;
94 m_stop_time_set =
false;
base_diff_eqn(const base_diff_eqn &a)
bool integration_ok(void) const
virtual void force_restart(void)
virtual ~base_diff_eqn(void)=default
octave_idx_type integration_state(void) const
void initialize(const ColumnVector &x0, double t0)
octave_idx_type size(void) const
ColumnVector state(void) const
virtual std::string error_message(void) const =0
void set_stop_time(double tt)
base_diff_eqn(const ColumnVector &xx, double tt)
void clear_stop_time(void)