GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
base_diff_eqn Class Referenceabstract

#include "base-de.h"

Inheritance diagram for base_diff_eqn:
Inheritance graph
[legend]
Collaboration diagram for base_diff_eqn:
Collaboration graph
[legend]

Public Member Functions

 base_diff_eqn (void)
 
 base_diff_eqn (const ColumnVector &xx, double tt)
 
 base_diff_eqn (const base_diff_eqn &a)
 
virtual ~base_diff_eqn (void)
 
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 31 of file base-de.h.

Constructor & Destructor Documentation

base_diff_eqn::base_diff_eqn ( void  )
inline

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

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

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

base_diff_eqn::base_diff_eqn ( const base_diff_eqn a)
inline

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

virtual base_diff_eqn::~base_diff_eqn ( void  )
inlinevirtual

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

Member Function Documentation

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

Implemented in DASRT, DASPK, DASSL, and LSODE.

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

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

References x.

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

bool base_diff_eqn::integration_ok ( void  ) const
inline

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

Referenced by Fdaspk(), Fdasrt(), Fdassl(), and Flsode().

octave_idx_type base_diff_eqn::integration_state ( void  ) const
inline

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

Referenced by Fdaspk(), Fdasrt(), Fdassl(), and Flsode().

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

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

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

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

void base_diff_eqn::set_stop_time ( double  tt)
inline
octave_idx_type base_diff_eqn::size ( void  ) const
inline
ColumnVector base_diff_eqn::state ( void  ) const
inline

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

References x.

double base_diff_eqn::time ( void  ) const
inline

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

Member Data Documentation

bool base_diff_eqn::integration_error
protected
octave_idx_type base_diff_eqn::istate
protected
bool base_diff_eqn::restart
protected
double base_diff_eqn::stop_time
protected
bool base_diff_eqn::stop_time_set
protected
double base_diff_eqn::t
protected
ColumnVector base_diff_eqn::x
protected

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