GNU Octave  8.1.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 &ml, const F77_INT &mu, 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_fcn
 
static ODEFunc::ODEJacFunc user_jac
 
static bool user_jac_ignore_ml_mu
 

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 61 of file LSODE.cc.

References Array< T, Alloc >::elem(), ierr, Array< T, Alloc >::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 ml,
const F77_INT mu,
double *  pd,
const F77_INT nrowpd 
)
static

Definition at line 84 of file LSODE.cc.

References tmp_x, and user_jac_ignore_ml_mu.

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_fcn

◆ user_jac

ODEFunc::ODEJacFunc user_jac
static

Definition at line 56 of file LSODE.cc.

Referenced by LSODE::do_integrate().

◆ user_jac_ignore_ml_mu

bool user_jac_ignore_ml_mu
static

Definition at line 58 of file LSODE.cc.

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