GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Typedefs | Functions | Variables
LSODE.cc File Reference
#include <cfloat>
#include <sstream>
#include "LSODE.h"
#include "f77-fcn.h"
#include "lo-error.h"
#include "lo-math.h"
#include "quit.h"
Include dependency graph for LSODE.cc:

Go to the source code of this file.

Typedefs

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

Functions

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

Variables

static ColumnVectortmp_x
 
F77_RET_T octave_idx_type
double double double
octave_idx_type double const
double octave_idx_type
octave_idx_type
octave_idx_type double
octave_idx_type
octave_idx_type
octave_idx_type
octave_idx_type &static
ODEFunc::ODERHSFunc 
user_fun
 
static ODEFunc::ODEJacFunc user_jac
 

Typedef Documentation

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

Definition at line 37 of file LSODE.cc.

Definition at line 41 of file LSODE.cc.

Function Documentation

F77_RET_T F77_FUNC ( dlsode  ,
DLSODE   
)
static octave_idx_type lsode_f ( const octave_idx_type neq,
const double time,
double ,
double deriv,
octave_idx_type ierr 
)
static

Definition at line 64 of file LSODE.cc.

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

Referenced by LSODE::do_integrate().

static octave_idx_type lsode_j ( const octave_idx_type neq,
const double time,
double ,
const octave_idx_type ,
const octave_idx_type ,
double pd,
const octave_idx_type nrowpd 
)
static

Definition at line 91 of file LSODE.cc.

References tmp_x.

Referenced by LSODE::do_integrate().

Variable Documentation

ColumnVector* tmp_x
static

Definition at line 61 of file LSODE.cc.

Referenced by lsode_f(), and lsode_j().

Definition at line 50 of file LSODE.cc.

Referenced by LSODE::do_integrate().

ODEFunc::ODEJacFunc user_jac
static

Definition at line 60 of file LSODE.cc.

Referenced by LSODE::do_integrate().