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

Go to the source code of this file.

Typedefs

typedef F77_INT(* daspk_fcn_ptr) (const double &, const double *, const double *, const double &, double *, F77_INT &, double *, F77_INT *)
 
typedef F77_INT(* daspk_jac_ptr) (const double &, const double *, const double *, double *, const double &, double *, F77_INT *)
 
typedef F77_INT(* daspk_psol_ptr) (const F77_INT &, const double &, const double *, const double *, const double *, const double &, const double *, double *, F77_INT *, double *, const double &, F77_INT &, double *, F77_INT *)
 

Functions

static F77_INT ddaspk_f (const double &time, const double *state, const double *deriv, const double &, double *delta, F77_INT &ires, double *, F77_INT *)
 
static F77_INT ddaspk_j (const double &time, const double *state, const double *deriv, double *pd, const double &cj, double *, F77_INT *)
 
static F77_INT ddaspk_psol (const F77_INT &, const double &, const double *, const double *, const double *, const double &, const double *, double *, F77_INT *, double *, const double &, F77_INT &, double *, F77_INT *)
 
F77_RET_T F77_FUNC (ddaspk, DDASPK)(daspk_fcn_ptr
 

Variables

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

Typedef Documentation

◆ daspk_fcn_ptr

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

Definition at line 39 of file DASPK.cc.

◆ daspk_jac_ptr

Definition at line 43 of file DASPK.cc.

◆ daspk_psol_ptr

Definition at line 46 of file DASPK.cc.

Function Documentation

◆ ddaspk_f()

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

Definition at line 69 of file DASPK.cc.

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

Referenced by DASPK::do_integrate().

◆ ddaspk_j()

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

Definition at line 117 of file DASPK.cc.

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

Referenced by DASPK::do_integrate().

◆ ddaspk_psol()

static F77_INT ddaspk_psol ( const F77_INT ,
const double &  ,
const double *  ,
const double *  ,
const double *  ,
const double &  ,
const double *  ,
double *  ,
F77_INT ,
double *  ,
const double &  ,
F77_INT ,
double *  ,
F77_INT  
)
static

Definition at line 106 of file DASPK.cc.

Referenced by DASPK::do_integrate().

◆ F77_FUNC()

F77_RET_T F77_FUNC ( ddaspk  ,
DDASPK   
)

Variable Documentation

◆ nn

◆ user_fun

DAEFunc::DAERHSFunc user_fun
static

Definition at line 64 of file DASPK.cc.

Referenced by ddaspk_f(), and DASPK::do_integrate().

◆ user_jac

DAEFunc::DAEJacFunc user_jac
static

Definition at line 65 of file DASPK.cc.

Referenced by ddaspk_j(), and DASPK::do_integrate().