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 ()
const {
return m_t; }
87 m_stop_time_set =
true;
94 m_stop_time_set =
false;
base_diff_eqn(const base_diff_eqn &a)
virtual std::string error_message() const =0
octave_idx_type integration_state() const
ColumnVector state() const
virtual ~base_diff_eqn()=default
bool integration_ok() const
void initialize(const ColumnVector &x0, double t0)
virtual void force_restart()
octave_idx_type size() const
void set_stop_time(double tt)
base_diff_eqn(const ColumnVector &xx, double tt)