This file implements the functions of the dopri5 integrator in C. Specific functions of the algorithm. More...
#include <math.h>#include <stdio.h>#include <stdlib.h>#include <limits.h>#include <memory.h>#include "dopri5.h"#include "mbs_define.h"#include "mbs_dopri5.h"#include "mbs_message.h"#include "mbs_errors_names.h"Functions | |
| long | nfcnRead (void) |
| long | nstepRead (void) |
| long | naccptRead (void) |
| long | nrejctRead (void) |
| double | hRead (void) |
| double | xRead (void) |
| static double | min_d (double a, double b) |
| static double | max_d (double a, double b) |
| 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) |
| 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) |
| 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. More... | |
| double | contd5 (unsigned ii, double x) |
Variables | |
| static long | nfcn |
| static long | nstep |
| static long | naccpt |
| static long | nrejct |
| static long | n_fcn |
| static double | hout |
| static double | xold |
| static double | xout |
| static double | last_hnew |
| static unsigned | nrds |
| static unsigned * | indir |
| double * | yy1 |
| double * | k1 |
| double * | k2 |
| double * | k3 |
| double * | k4 |
| double * | k5 |
| double * | k6 |
| double * | ysti |
| static double * | rcont1 |
| static double * | rcont2 |
| static double * | rcont3 |
| static double * | rcont4 |
| static double * | rcont5 |
This file implements the functions of the dopri5 integrator in C. Specific functions of the algorithm.
Creation date: September 2015
Modification date: April 2018 \modified by Sebastien Timmermans
(c) Universite catholique de Louvain
| double contd5 | ( | unsigned | ii, |
| double | x | ||
| ) |
|
static |
| 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.
|
static |
| double hRead | ( | void | ) |
|
static |
|
static |
| long naccptRead | ( | void | ) |
| long nfcnRead | ( | void | ) |
| long nrejctRead | ( | void | ) |
| long nstepRead | ( | void | ) |
| double xRead | ( | void | ) |
|
static |
|
static |
| double * k1 |
| double * k2 |
| double * k3 |
| double * k4 |
| double * k5 |
| double * k6 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| double * ysti |
| double* yy1 |
1.8.17