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

#include "DAE.h"

Inheritance diagram for DAE:
base_diff_alg_eqn DAEFunc base_diff_eqn DASPK DASSL

Public Member Functions

 DAE ()
 
 DAE (const ColumnVector &xx, const ColumnVector &xxdot, double tt, DAEFunc &f)
 
 DAE (const ColumnVector &xx, double tt, DAEFunc &f)
 
 DAE (const DAE &a)
 
virtual ~DAE ()=default
 
DAEoperator= (const DAE &a)
 
- Public Member Functions inherited from base_diff_alg_eqn
 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
 
- Public Member Functions inherited from DAEFunc
 DAEFunc ()
 
 DAEFunc (const DAEFunc &a)
 
 DAEFunc (DAERHSFunc f)
 
 DAEFunc (DAERHSFunc f, DAEJacFunc j)
 
virtual ~DAEFunc ()=default
 
DAERHSFunc function () const
 
DAEJacFunc jacobian_function () const
 
DAEFuncoperator= (const DAEFunc &a)
 
DAEFuncset_function (DAERHSFunc f)
 
DAEFuncset_jacobian_function (DAEJacFunc j)
 

Additional Inherited Members

- Public Types inherited from DAEFunc
typedef Matrix(* DAEJacFunc) (const ColumnVector &x, const ColumnVector &xdot, double t, double cj)
 
typedef ColumnVector(* DAERHSFunc) (const ColumnVector &x, const ColumnVector &xdot, double t, octave_idx_type &ires)
 
- Protected Attributes inherited from base_diff_alg_eqn
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
 
- Protected Attributes inherited from DAEFunc
DAERHSFunc m_fcn
 
DAEJacFunc m_jac
 
bool m_reset
 

Detailed Description

Definition at line 34 of file DAE.h.

Constructor & Destructor Documentation

◆ DAE() [1/4]

DAE::DAE ( )
inline

Definition at line 40 of file DAE.h.

◆ DAE() [2/4]

DAE::DAE ( const ColumnVector xx,
double  tt,
DAEFunc f 
)
inline

Definition at line 43 of file DAE.h.

◆ DAE() [3/4]

DAE::DAE ( const ColumnVector xx,
const ColumnVector xxdot,
double  tt,
DAEFunc f 
)
inline

Definition at line 46 of file DAE.h.

◆ DAE() [4/4]

DAE::DAE ( const DAE a)
inline

Definition at line 50 of file DAE.h.

◆ ~DAE()

virtual DAE::~DAE ( )
virtualdefault

Member Function Documentation

◆ operator=()

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

Definition at line 53 of file DAE.h.

References base_diff_alg_eqn::operator=(), and DAEFunc::operator=().


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