Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

demo.c File Reference

#include <stdio.h>
#include <math.h>

Go to the source code of this file.

Functions

double accx_cons (double x, double v, double t)
double accx_diss (double x, double v, double t)
double accx (double x, double v, double t)
double potential (double x)
void step (double *t, double *x, double *v, double *w, double dt)
double energy (double x, double v, double t, double dt)
double interp (double t0, double t1, double x0, double x1, double t)
 main ()


Function Documentation

double accx ( double x,
double v,
double t )
 

Definition at line 32 of file demo.c.

Referenced by energy(), and step().

double accx_cons ( double x,
double v,
double t )
 

Definition at line 22 of file demo.c.

Referenced by accx().

double accx_diss ( double x,
double v,
double t )
 

Definition at line 27 of file demo.c.

Referenced by accx().

double energy ( double x,
double v,
double t,
double dt )
 

Definition at line 71 of file demo.c.

double interp ( double t0,
double t1,
double x0,
double x1,
double t )
 

Definition at line 82 of file demo.c.

Referenced by main().

main ( )
 

Definition at line 89 of file demo.c.

double potential ( double x )
 

Definition at line 37 of file demo.c.

void step ( double * t,
double * x,
double * v,
double * w,
double dt )
 

Definition at line 48 of file demo.c.


Generated at Sun Feb 24 09:57:24 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001