HNBody Version 1.2.1

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

Data Structures | Enumerations | Functions | Variables
kepler.h File Reference

The HNBody Kepler library. More...

`#include <mutils/platform.h>`
Include dependency graph for kepler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
struct | kepler_elems

## Enumerations
enum | kepler_radial_orbit_t { bound_radial =-1, unbound_radial =-2 }

## Functions
DLLSPEC double | kepler_eccanom_base (double *M0, double M, double e)
DLLSPEC double | kepler_eccanom (double M, double e)
DLLSPEC double | kepler_hypanom (double M, double e)
DLLSPEC double | kepler_paranom (double M)
DLLSPEC double | kepler_meanconic (double *C, double r, double rv, double rv2, double GM)
DLLSPEC double | kepler_conicanom_mean (double M, double e)
DLLSPEC double | kepler_conicanom_true (double nu, double e)
DLLSPEC double | kepler_trueanom_conic (double C, double e)
DLLSPEC double | kepler_trueanom_mean (double M, double e)
DLLSPEC double | kepler_meananom_conic (double C, double e)
DLLSPEC double | kepler_meananom_true (double nu, double e)
DLLSPEC double | kepler_L2 (const double x[], const double v[])
DLLSPEC double | kepler_ds (double dt, double GM, double r0, double v2, double beta, double eta)
DLLSPEC double | kepler_x_nu (double *nu, double M, double e)
DLLSPEC double | kepler_kinenergy (double v[][3], const double m[], int n)
DLLSPEC double | kepler_potenergy (double x[][3], const double m[], double G, int nh, int n)
DLLSPEC double | kepler_energy (double x[][3], double v[][3], const double m[], double G, int n)
DLLSPEC void | kepler_normalize (double x[], double dx[])
DLLSPEC void | kepler_Tmatrix (double T[][3], double i, double om, double psi)
DLLSPEC void | kepler_xv_gr (double x[], double v[], double M, double dM, double a, double e, double T[][3], double GM)
DLLSPEC void | kepler_xv_mean (double x[], double v[], double M, double a, double e, double T[][3], double GM)
DLLSPEC void | kepler_xv_true (double x[], double v[], double nu, double a, double e, double T[][3], double GM)
DLLSPEC void | kepler_invplane (double *i, double *psi, const double L[])
DLLSPEC void | kepler_angmom (double L[], double x[][3], double v[][3], const double m[], int n)
DLLSPEC void | kepler_cmass (double xcm[], double x[][3], const double m[], int n)
DLLSPEC void | kepler_inert2bary (double y[][3], double x[][3], const double m[], int ncm, int n)
DLLSPEC void | kepler_bary2body (double y[][3], double x[][3], const double m[], int n)
DLLSPEC void | kepler_body2bary (double y[][3], double x[][3], const double m[], int n)
DLLSPEC void | kepler_etas (double eta[], double ieta[], double deta[], const double m[], const int imap[], int n)
DLLSPEC void | kepler_body2jac (double y[][3], double x[][3], const double m[], const double ieta[], const int imap[], int n)
DLLSPEC void | kepler_jac2body (double y[][3], double dy[][3], double x[][3], const double m[], const double ieta[], const int imap[], int n)
DLLSPEC void | kepler_inert2body (double y[][3], double x[][3], int n)
DLLSPEC void | kepler_inert2jac (double y[][3], double x[][3], const double m[], const double ieta[], const int imap[], int n)
DLLSPEC void | kepler_dbody2djac (double djac[][3], double dbod[][3], const double m[], const double ieta[], const int imap[], int n)
DLLSPEC void | kepler_djac2dbody (double djac[][3], double dbod[][3], const double m[], const double ieta[], const int imap[], int n)
DLLSPEC void | kepler_canbody2jac (double x[][3], double v[][3], const double m[], const double ieta[], const int imap[], int n)
DLLSPEC void | kepler_jac2canbody (double x[][3], double v[][3], const double m[], const double ieta[], const int imap[], int n)
DLLSPEC void | kepler_ranorb (double *a, double *e, double *i, double amin, double amax, double n, double p, double q)
DLLSPEC int | kepler_inert2baryPN (double xPN[][3], double vPN[][3], double mPN[], double x[][3], double v[][3], const double m[], int n, double G, double c)
DLLSPEC int | kepler_orbels (double *M, double *a, double *e, double *i, double *om, double *psi, const double x[], const double v[], double GM)
DLLSPEC int | kepler_step (double x[], double v[], double GM, double dt)
DLLSPEC int | kepler_pnstep (double x[], double v[], double GM, double ic2, double dt)
DLLSPEC int | kepler_mmstep (double x[], double v[], double *rmin, double *rmax, double GM, double dt)
DLLSPEC int | kepler_delstep (double x[], double dx[], double v[], double dv[], double GM, double dt)
DLLSPEC int | kepler_delpnstep (double x[], double dx[], double v[], double dv[], double GM, double ic2, double dt)
DLLSPEC int | kepler_delmmstep (double x[], double dx[], double v[], double dv[], double *rmin, double *rmax, double GM, double dt)
DLLSPEC int | kepler_dstep (double x[], double v[], double dx[], double dv[], double GM, double dt)
DLLSPEC int | kepler_regstep (double x[], double v[], double *dt, double GM, double ds)
DLLSPEC int | kepler_Eregstep (double x[], double v[], double *dt, double E, double ds)
DLLSPEC int | kepler_dregstep (double x[], double v[], double dx[], double dv[], double *dt, double GM, double ds)
DLLSPEC int | kepler_lcstep (double x[], double v[], double *rmin, double dt, double domega)
DLLSPEC int | kepler_grstep (double x[], double v[], double *rmin, double dt, double domega)
DLLSPEC void | kepler_blank_elems (kepler_elems *elems)
DLLSPEC void | kepler_elems_xv (kepler_elems *elems, const double x[], const double v[], double GM, int phase)
DLLSPEC int | kepler_fill_elems (kepler_elems *elems)
DLLSPEC int | kepler_xv_elems (double x[], double v[], kepler_elems *elems, double GM)

## Variables
DLLSPEC int | kepler_tiptoe

## Detailed Description

Id
  kepler.h,v 1.7 2015/02/09 23:59:44 rauch Exp

Author
  Kevin P. Rauch

Contains functions related to Kepler orbits and related coordinate transformations.