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

#include "DAEFunc.h"

Inheritance diagram for DAEFunc:
Collaboration diagram for DAEFunc:

Public Types

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)
 

Public Member Functions

 DAEFunc (const DAEFunc &a)
 
 DAEFunc (DAERHSFunc f)
 
 DAEFunc (DAERHSFunc f, DAEJacFunc j)
 
 DAEFunc (void)
 
virtual ~DAEFunc (void)=default
 
DAERHSFunc function (void) const
 
DAEJacFunc jacobian_function (void) const
 
DAEFuncoperator= (const DAEFunc &a)
 
DAEFuncset_function (DAERHSFunc f)
 
DAEFuncset_jacobian_function (DAEJacFunc j)
 

Protected Attributes

DAERHSFunc fun
 
DAEJacFunc jac
 
bool reset
 

Detailed Description

Definition at line 34 of file DAEFunc.h.

Member Typedef Documentation

◆ DAEJacFunc

typedef Matrix(* DAEFunc::DAEJacFunc) (const ColumnVector &x, const ColumnVector &xdot, double t, double cj)

Definition at line 47 of file DAEFunc.h.

◆ DAERHSFunc

typedef ColumnVector(* DAEFunc::DAERHSFunc) (const ColumnVector &x, const ColumnVector &xdot, double t, octave_idx_type &ires)

Definition at line 39 of file DAEFunc.h.

Constructor & Destructor Documentation

◆ DAEFunc() [1/4]

DAEFunc::DAEFunc ( void  )
inline

Definition at line 51 of file DAEFunc.h.

◆ DAEFunc() [2/4]

DAEFunc::DAEFunc ( DAERHSFunc  f)
inline

Definition at line 54 of file DAEFunc.h.

◆ DAEFunc() [3/4]

DAEFunc::DAEFunc ( DAERHSFunc  f,
DAEJacFunc  j 
)
inline

Definition at line 57 of file DAEFunc.h.

◆ DAEFunc() [4/4]

DAEFunc::DAEFunc ( const DAEFunc a)
inline

Definition at line 60 of file DAEFunc.h.

◆ ~DAEFunc()

virtual DAEFunc::~DAEFunc ( void  )
virtualdefault

Member Function Documentation

◆ function()

DAERHSFunc DAEFunc::function ( void  ) const
inline

Definition at line 76 of file DAEFunc.h.

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

◆ jacobian_function()

DAEJacFunc DAEFunc::jacobian_function ( void  ) const
inline

Definition at line 85 of file DAEFunc.h.

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

◆ operator=()

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

Definition at line 63 of file DAEFunc.h.

References fun, jac, and reset.

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

◆ set_function()

DAEFunc& DAEFunc::set_function ( DAERHSFunc  f)
inline

Definition at line 78 of file DAEFunc.h.

References f.

◆ set_jacobian_function()

DAEFunc& DAEFunc::set_jacobian_function ( DAEJacFunc  j)
inline

Definition at line 87 of file DAEFunc.h.

Referenced by DEFMETHOD().

Member Data Documentation

◆ fun

DAERHSFunc DAEFunc::fun
protected

Definition at line 96 of file DAEFunc.h.

Referenced by operator=().

◆ jac

DAEJacFunc DAEFunc::jac
protected

Definition at line 97 of file DAEFunc.h.

Referenced by operator=().

◆ reset

bool DAEFunc::reset
protected

Definition at line 104 of file DAEFunc.h.

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


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