GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
LSODE.cc File Reference
#include <cinttypes>
#include <sstream>
#include "LSODE.h"
#include "f77-fcn.h"
#include "lo-error.h"
#include "quit.h"
Include dependency graph for LSODE.cc:

Go to the source code of this file.

Typedefs

typedef F77_INT(* lsode_fcn_ptr) (const F77_INT &, const double &, double *, double *, F77_INT &)
 
typedef F77_INT(* lsode_jac_ptr) (const F77_INT &, const double &, double *, const F77_INT &, const F77_INT &, double *, const F77_INT &)
 

Functions

F77_RET_T F77_FUNC (dlsode, DLSODE)(lsode_fcn_ptr
 
static F77_INT lsode_f (const F77_INT &neq, const double &time, double *, double *deriv, F77_INT &ierr)
 
static F77_INT lsode_j (const F77_INT &neq, const double &time, double *, const F77_INT &, const F77_INT &, double *pd, const F77_INT &nrowpd)
 

Variables

static ColumnVectortmp_x
 
F77_RET_T F77_INT F77_DBLE F77_DBLE F77_DBLE F77_INT F77_DBLE const F77_DBLE F77_INT F77_INT F77_INT F77_DBLE F77_INT F77_INT F77_INT F77_INT &static ODEFunc::ODERHSFunc user_fun
 
static ODEFunc::ODEJacFunc user_jac
 

Typedef Documentation

◆ lsode_fcn_ptr

typedef F77_INT(* lsode_fcn_ptr) (const F77_INT &, const double &, double *, double *, F77_INT &)

Definition at line 38 of file LSODE.cc.

◆ lsode_jac_ptr

Function Documentation

◆ F77_FUNC()

F77_RET_T F77_FUNC ( dlsode  ,
DLSODE   
)

◆ lsode_f()

static F77_INT lsode_f ( const F77_INT neq,
const double &  time,
double *  ,
double *  deriv,
F77_INT ierr 
)
static

Definition at line 60 of file LSODE.cc.

References Array< T >::elem(), ierr, Array< T >::isempty(), and tmp_x.

Referenced by LSODE::do_integrate().

◆ lsode_j()

static F77_INT lsode_j ( const F77_INT neq,
const double &  time,
double *  ,
const F77_INT ,
const F77_INT ,
double *  pd,
const F77_INT nrowpd 
)
static

Definition at line 83 of file LSODE.cc.

References tmp_x.

Referenced by LSODE::do_integrate().

Variable Documentation

◆ tmp_x

ColumnVector* tmp_x
static

Definition at line 57 of file LSODE.cc.

Referenced by LSODE::do_integrate(), lsode_f(), and lsode_j().

◆ user_fun

◆ user_jac

ODEFunc::ODEJacFunc user_jac
static

Definition at line 56 of file LSODE.cc.

Referenced by LSODE::do_integrate().