GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
base_diff_eqn Class Referenceabstract

#include "base-de.h"

Inheritance diagram for base_diff_eqn:
ODE ODES base_diff_alg_eqn LSODE DAE DAERT DASPK DASSL DASRT

Public Member Functions

 base_diff_eqn ()
 
 base_diff_eqn (const base_diff_eqn &a)
 
 base_diff_eqn (const ColumnVector &xx, double tt)
 
virtual ~base_diff_eqn ()=default
 
void clear_stop_time ()
 
virtual std::string error_message () const =0
 
virtual void force_restart ()
 
void initialize (const ColumnVector &x0, double t0)
 
bool integration_ok () const
 
octave_idx_type integration_state () const
 
base_diff_eqnoperator= (const base_diff_eqn &a)
 
void set_stop_time (double tt)
 
octave_idx_type size () const
 
ColumnVector state () const
 
double time () const
 

Protected Attributes

bool m_integration_error
 
octave_idx_type m_istate
 
bool m_restart
 
double m_stop_time
 
bool m_stop_time_set
 
double m_t
 
ColumnVector m_x
 

Detailed Description

Definition at line 35 of file base-de.h.

Constructor & Destructor Documentation

◆ base_diff_eqn() [1/3]

base_diff_eqn::base_diff_eqn ( )
inline

Definition at line 40 of file base-de.h.

◆ base_diff_eqn() [2/3]

base_diff_eqn::base_diff_eqn ( const ColumnVector xx,
double  tt 
)
inline

Definition at line 44 of file base-de.h.

◆ base_diff_eqn() [3/3]

base_diff_eqn::base_diff_eqn ( const base_diff_eqn a)
inline

Definition at line 48 of file base-de.h.

◆ ~base_diff_eqn()

virtual base_diff_eqn::~base_diff_eqn ( )
virtualdefault

Member Function Documentation

◆ clear_stop_time()

void base_diff_eqn::clear_stop_time ( )
inline

◆ error_message()

virtual std::string base_diff_eqn::error_message ( ) const
pure virtual

Implemented in LSODE, DASSL, DASRT, and DASPK.

◆ force_restart()

virtual void base_diff_eqn::force_restart ( )
inlinevirtual

◆ initialize()

void base_diff_eqn::initialize ( const ColumnVector x0,
double  t0 
)
inline

Definition at line 70 of file base-de.h.

Referenced by ODES::initialize(), and base_diff_alg_eqn::initialize().

◆ integration_ok()

bool base_diff_eqn::integration_ok ( ) const
inline

Definition at line 100 of file base-de.h.

◆ integration_state()

octave_idx_type base_diff_eqn::integration_state ( ) const
inline

Definition at line 102 of file base-de.h.

◆ operator=()

base_diff_eqn& base_diff_eqn::operator= ( const base_diff_eqn a)
inline

◆ set_stop_time()

void base_diff_eqn::set_stop_time ( double  tt)
inline

◆ size()

octave_idx_type base_diff_eqn::size ( ) const
inline

◆ state()

ColumnVector base_diff_eqn::state ( ) const
inline

Definition at line 81 of file base-de.h.

◆ time()

double base_diff_eqn::time ( ) const
inline

Definition at line 83 of file base-de.h.

Member Data Documentation

◆ m_integration_error

bool base_diff_eqn::m_integration_error
protected

◆ m_istate

octave_idx_type base_diff_eqn::m_istate
protected

◆ m_restart

bool base_diff_eqn::m_restart
protected

Definition at line 116 of file base-de.h.

Referenced by DASPK::do_integrate(), DASSL::do_integrate(), and operator=().

◆ m_stop_time

double base_diff_eqn::m_stop_time
protected

Definition at line 112 of file base-de.h.

Referenced by operator=().

◆ m_stop_time_set

bool base_diff_eqn::m_stop_time_set
protected

Definition at line 114 of file base-de.h.

Referenced by operator=().

◆ m_t

double base_diff_eqn::m_t
protected

◆ m_x

ColumnVector base_diff_eqn::m_x
protected

The documentation for this class was generated from the following file: