GNU Octave  6.2.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:
Collaboration diagram for base_diff_eqn:

Public Member Functions

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

Protected Attributes

bool integration_error
 
octave_idx_type istate
 
bool restart
 
double stop_time
 
bool stop_time_set
 
double t
 
ColumnVector 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 ( void  )
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 ( void  )
virtualdefault

Member Function Documentation

◆ clear_stop_time()

void base_diff_eqn::clear_stop_time ( void  )
inline

◆ error_message()

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

Implemented in LSODE, DASSL, DASRT, and DASPK.

◆ force_restart()

virtual void base_diff_eqn::force_restart ( void  )
inlinevirtual

◆ initialize()

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

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

References x.

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

◆ integration_ok()

bool base_diff_eqn::integration_ok ( void  ) const
inline

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

Referenced by DEFMETHOD().

◆ integration_state()

octave_idx_type base_diff_eqn::integration_state ( void  ) const
inline

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

Referenced by DEFMETHOD().

◆ operator=()

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

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

References integration_error, istate, restart, stop_time, stop_time_set, t, x, and x.

Referenced by base_diff_alg_eqn::operator=(), ODE::operator=(), and ODES::operator=().

◆ set_stop_time()

void base_diff_eqn::set_stop_time ( double  tt)
inline

◆ size()

octave_idx_type base_diff_eqn::size ( void  ) const
inline

◆ state()

ColumnVector base_diff_eqn::state ( void  ) const
inline

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

References x.

◆ time()

double base_diff_eqn::time ( void  ) const
inline

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

Member Data Documentation

◆ integration_error

bool base_diff_eqn::integration_error
protected

◆ istate

◆ restart

bool base_diff_eqn::restart
protected

◆ stop_time

double base_diff_eqn::stop_time
protected

◆ stop_time_set

bool base_diff_eqn::stop_time_set
protected

◆ t

◆ x


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