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_alg_eqn Class Referenceabstract

#include "base-dae.h"

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

Public Member Functions

 base_diff_alg_eqn (void)
 
 base_diff_alg_eqn (const ColumnVector &xx, double tt)
 
 base_diff_alg_eqn (const ColumnVector &xx, const ColumnVector &xxdot, double tt)
 
 base_diff_alg_eqn (const base_diff_alg_eqn &a)
 
virtual ~base_diff_alg_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)
 
void initialize (const ColumnVector &x0, const ColumnVector &xdot0, double t0)
 
bool integration_ok (void) const
 
octave_idx_type integration_state (void) const
 
base_diff_alg_eqnoperator= (const base_diff_alg_eqn &a)
 
void set_stop_time (double tt)
 
octave_idx_type size (void) const
 
ColumnVector state (void) const
 
ColumnVector state_derivative (void)
 
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
 
ColumnVector xdot
 

Detailed Description

Definition at line 28 of file base-dae.h.

Constructor & Destructor Documentation

base_diff_alg_eqn::base_diff_alg_eqn ( void  )
inline

Definition at line 33 of file base-dae.h.

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

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

base_diff_alg_eqn::base_diff_alg_eqn ( const ColumnVector xx,
const ColumnVector xxdot,
double  tt 
)
inline

Definition at line 39 of file base-dae.h.

base_diff_alg_eqn::base_diff_alg_eqn ( const base_diff_alg_eqn a)
inline

Definition at line 43 of file base-dae.h.

virtual base_diff_alg_eqn::~base_diff_alg_eqn ( void  )
inlinevirtual

Definition at line 46 of file base-dae.h.

Member Function Documentation

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

Implemented in DASRT, DASPK, DASSL, and LSODE.

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

Definition at line 58 of file base-dae.h.

References base_diff_eqn::initialize(), and Array< T >::length().

Referenced by DAERT::initialize().

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

Definition at line 64 of file base-dae.h.

References base_diff_eqn::initialize().

bool base_diff_eqn::integration_ok ( void  ) const
inlineinherited

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
inlineinherited

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

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

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

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

References base_diff_eqn::operator=(), and xdot.

Referenced by DAE::operator=(), and DAERT::operator=().

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

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

References x.

ColumnVector base_diff_alg_eqn::state_derivative ( void  )
inline

Definition at line 71 of file base-dae.h.

double base_diff_eqn::time ( void  ) const
inlineinherited

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

Member Data Documentation

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

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