|
Robotran C Documentation
|
Go to the documentation of this file.
187 #ifndef _DOPRI5_H_INCLUDED
188 #define _DOPRI5_H_INCLUDED
228 double **dopri5_alloc_tab,
243 extern double hRead(
void);
244 extern double xRead(
void);
double * k6
Definition: dopri5.c:32
static double max_d(double a, double b)
Definition: dopri5.c:91
double tsim
The time value.
Definition: mbs_data.h:208
double * y
Pointer to the state vector, this is a dvec_0 of size nState.
Definition: mbs_dirdyn_struct.h:153
double * yd
Pointers to the derivative vector (dvec_0) of size nState.
Definition: mbs_dirdyn_struct.h:160
static double * rcont5
Definition: dopri5.c:33
static double min_d(double a, double b)
Definition: dopri5.c:84
static long nrejct
Definition: dopri5.c:29
double * k3
Definition: dopri5.c:32
int mbs_fct_dirdyn(double tsim, double y[], double dydt[], MbsData *s, MbsDirdyn *dd)
direct dynamics derivative computation
Definition: mbs_dirdyn.c:1067
static double last_hnew
Definition: dopri5.c:30
double * k1
Definition: dopri5.c:32
int(* SolTrait)(long nr, double xold, double x, double *y, unsigned n, int *irtrn, int init_flag, MbsData *s, MbsDirdyn *dd)
Definition: dopri5.h:201
#define _MBS_ERR_MOD_SPEC_15
Generic error number Module specific errors range from -11 to -19 please read the error message a...
Definition: mbs_errors_names.h:186
long naccptRead(void)
Definition: dopri5.c:49
This header defines function for dopri5 in C. based on an external source (see below)
double * k4
Definition: dopri5.c:32
long nrejctRead(void)
Definition: dopri5.c:56
static long nstep
Definition: dopri5.c:29
static int dopcor(unsigned n, FcnEqDiff fcn, double x, double *y, double xend, double hmax, double h, double *rtoler, double *atoler, int itoler, SolTrait solout, int iout, long nmax, double uround, int meth, long nstiff, double safe, double beta, double fac1, double fac2, unsigned *icont, MbsData *s, MbsDirdyn *dd)
Definition: dopri5.c:178
double tsim
current simulation time
Definition: mbs_dirdyn_struct.h:149
static double xout
Definition: dopri5.c:30
void mbs_msg(char *msg,...)
Send a message.
Definition: mbs_message.c:76
static double * rcont1
Definition: dopri5.c:33
static long nfcn
Definition: dopri5.c:29
double * yy1
Definition: dopri5.c:32
long nstepRead(void)
Definition: dopri5.c:42
double contd5(unsigned ii, double x)
Definition: dopri5.c:732
static double xold
Definition: dopri5.c:30
long nstepRead(void)
Definition: dopri5.c:42
static double * rcont2
Definition: dopri5.c:33
int(* FcnEqDiff)(unsigned n, long nr, double x, double *y, double *f, MbsData *s, MbsDirdyn *dd)
Definition: dopri5.h:198
double xRead(void)
Definition: dopri5.c:70
double hRead(void)
Definition: dopri5.c:63
long naccptRead(void)
Definition: dopri5.c:49
static double hout
Definition: dopri5.c:30
int dopri5(unsigned n, FcnEqDiff fcn, double x, double *y, double xend, double *rtoler, double *atoler, int itoler, SolTrait solout, int iout, double uround, double safe, double fac1, double fac2, double beta, double hmax, double h, long nmax, int meth, long nstiff, unsigned nrdens, unsigned *icont, unsigned licont, double **dopri5_alloc_tab, MbsData *s, MbsDirdyn *dd, double *last_h)
See the source file for more informations.
Definition: dopri5.c:530
long nfcnRead(void)
Definition: dopri5.c:35
Definition: mbs_data.h:149
double contd5(unsigned ii, double x)
Definition: dopri5.c:732
static unsigned nrds
Definition: dopri5.c:31
static long n_fcn
Definition: dopri5.c:29
long nrejctRead(void)
Definition: dopri5.c:56
static double * rcont4
Definition: dopri5.c:33
int dopri5(unsigned n, FcnEqDiff fcn, double x, double *y, double xend, double *rtoler, double *atoler, int itoler, SolTrait solout, int iout, double uround, double safe, double fac1, double fac2, double beta, double hmax, double h, long nmax, int meth, long nstiff, unsigned nrdens, unsigned *icont, unsigned licont, double **dopri5_alloc_tab, MbsData *s, MbsDirdyn *dd, double *last_h)
See the source file for more informations.
Definition: dopri5.c:530
double * k2
Definition: dopri5.c:32
double hRead(void)
Definition: dopri5.c:63
double xRead(void)
Definition: dopri5.c:70
static double sign(double a, double b)
Definition: dopri5.c:77
int verbose
1 to get print indications related to time adaptive integrator, 0 otherwise, default = 1
Definition: mbs_dirdyn_struct.h:110
long nfcnRead(void)
Definition: dopri5.c:35
General structure of the direct dynamic module.
Definition: mbs_dirdyn_struct.h:144
double * k5
Definition: dopri5.c:32
double * ysti
Definition: dopri5.c:32
static unsigned * indir
Definition: dopri5.c:31
MbsDirdynOptions * options
structure defining the option of a direct dynamic
Definition: mbs_dirdyn_struct.h:146
int flag_stop_stiff
1 to stop integration if it become stiff, 0 (default value) otherwise, default = 0
Definition: mbs_dirdyn_struct.h:111
static long naccpt
Definition: dopri5.c:29
static double hinit(unsigned n, FcnEqDiff fcn, double x, double *y, double posneg, double *f0, double *f1, double *yy1, int iord, double hmax, double *atoler, double *rtoler, int itoler, MbsData *s, MbsDirdyn *dd)
Definition: dopri5.c:99
void mbs_warning_msg(char *msg,...)
Send a warning message.
Definition: mbs_message.c:89
static double * rcont3
Definition: dopri5.c:33