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

#include "base-dae.h"

Inheritance diagram for base_diff_alg_eqn:
base_diff_eqn DAE DAERT DASPK DASSL DASRT

Public Member Functions

 base_diff_alg_eqn ()
 
 base_diff_alg_eqn (const base_diff_alg_eqn &a)
 
 base_diff_alg_eqn (const ColumnVector &xx, const ColumnVector &xxdot, double tt)
 
 base_diff_alg_eqn (const ColumnVector &xx, double tt)
 
virtual ~base_diff_alg_eqn ()=default
 
void initialize (const ColumnVector &x0, const ColumnVector &xdot0, double t0)
 
void initialize (const ColumnVector &x0, double t0)
 
base_diff_alg_eqnoperator= (const base_diff_alg_eqn &a)
 
ColumnVector state_derivative ()
 
- Public Member Functions inherited from base_diff_eqn
 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

ColumnVector m_xdot
 
- Protected Attributes inherited from base_diff_eqn
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 33 of file base-dae.h.

Constructor & Destructor Documentation

◆ base_diff_alg_eqn() [1/4]

base_diff_alg_eqn::base_diff_alg_eqn ( )
inline

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

◆ base_diff_alg_eqn() [2/4]

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

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

◆ base_diff_alg_eqn() [3/4]

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

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

◆ base_diff_alg_eqn() [4/4]

base_diff_alg_eqn::base_diff_alg_eqn ( const base_diff_alg_eqn a)
inline

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

◆ ~base_diff_alg_eqn()

virtual base_diff_alg_eqn::~base_diff_alg_eqn ( )
virtualdefault

Member Function Documentation

◆ initialize() [1/2]

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

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

References base_diff_eqn::initialize().

◆ initialize() [2/2]

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

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

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

Referenced by DAERT::initialize().

◆ operator=()

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

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

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

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

◆ state_derivative()

ColumnVector base_diff_alg_eqn::state_derivative ( )
inline

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

Member Data Documentation

◆ m_xdot

ColumnVector base_diff_alg_eqn::m_xdot
protected

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

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


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