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

Go to the source code of this file.

Typedefs

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

Functions

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

Variables

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

Typedef Documentation

◆ dassl_fcn_ptr

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

Definition at line 39 of file DASSL.cc.

◆ dassl_jac_ptr

Definition at line 43 of file DASSL.cc.

Function Documentation

◆ ddassl_f()

static F77_INT ddassl_f ( const double &  time,
const double *  state,
const double *  deriv,
double *  delta,
F77_INT ires,
double *  ,
F77_INT  
)
static

Definition at line 64 of file DASSL.cc.

References Array< T >::elem(), Array< T >::isempty(), nn, octave::state, and user_fun.

Referenced by DASSL::do_integrate().

◆ ddassl_j()

static F77_INT ddassl_j ( const double &  time,
const double *  state,
const double *  deriv,
double *  pd,
const double &  cj,
double *  ,
F77_INT  
)
static

Definition at line 100 of file DASSL.cc.

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

Referenced by DASSL::do_integrate().

◆ F77_FUNC()

F77_RET_T F77_FUNC ( ddassl  ,
DDASSL   
)

Variable Documentation

◆ nn

F77_INT nn
static

Definition at line 61 of file DASSL.cc.

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

◆ user_fun

DAEFunc::DAERHSFunc user_fun
static

Definition at line 58 of file DASSL.cc.

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

◆ user_jac

DAEFunc::DAEJacFunc user_jac
static

Definition at line 59 of file DASSL.cc.

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