GNU Octave  3.8.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
DASSL.cc File Reference
#include <cfloat>
#include <sstream>
#include "DASSL.h"
#include "f77-fcn.h"
#include "lo-error.h"
#include "lo-math.h"
#include "quit.h"
Include dependency graph for DASSL.cc:

Go to the source code of this file.

Typedefs

typedef octave_idx_type(* dassl_fcn_ptr )(const double &, const double *, const double *, double *, octave_idx_type &, double *, octave_idx_type *)
typedef octave_idx_type(* dassl_jac_ptr )(const double &, const double *, const double *, double *, const double &, double *, octave_idx_type *)

Functions

static octave_idx_type ddassl_f (const double &time, const double *state, const double *deriv, double *delta, octave_idx_type &ires, double *, octave_idx_type *)
static octave_idx_type ddassl_j (const double &time, const double *state, const double *deriv, double *pd, const double &cj, double *, octave_idx_type *)
F77_RET_T F77_FUNC (ddassl, DDASSL)(dassl_fcn_ptr

Variables

static octave_idx_type nn
static DAEFunc::DAERHSFunc user_fun
static DAEFunc::DAEJacFunc user_jac

Typedef Documentation

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

Definition at line 37 of file DASSL.cc.

Definition at line 42 of file DASSL.cc.

Function Documentation

static octave_idx_type ddassl_f ( const double time,
const double state,
const double deriv,
double delta,
octave_idx_type ires,
double ,
octave_idx_type  
)
static

Definition at line 66 of file DASSL.cc.

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

Referenced by DASSL::do_integrate().

static octave_idx_type ddassl_j ( const double time,
const double state,
const double deriv,
double pd,
const double cj,
double ,
octave_idx_type  
)
static

Definition at line 102 of file DASSL.cc.

References Array< T >::elem(), nn, and user_jac.

Referenced by DASSL::do_integrate().

F77_RET_T F77_FUNC ( ddassl  ,
DDASSL   
)

Variable Documentation

octave_idx_type nn
static

Definition at line 63 of file DASSL.cc.

Referenced by ddassl_f(), and ddassl_j().

DAEFunc::DAERHSFunc user_fun
static

Definition at line 60 of file DASSL.cc.

Referenced by ddassl_f(), and DASSL::do_integrate().

DAEFunc::DAEJacFunc user_jac
static

Definition at line 61 of file DASSL.cc.

Referenced by ddassl_j(), and DASSL::do_integrate().