ConstAccelDerivFunc Class Reference

Inheritance diagram for ConstAccelDerivFunc:
NmOdeDerivFunc

List of all members.

Public Member Functions

void operator() (double x, const double *y, double *dydx)

Detailed Description

Definition at line 30 of file TestOdeInt.cxx.


Member Function Documentation

void ConstAccelDerivFunc::operator() ( double  x,
const double *  y,
double *  dydx 
) [inline, virtual]

Implements NmOdeDerivFunc.

Definition at line 32 of file TestOdeInt.cxx.

00032                                                            {
00033     dydx[0] = y[3];  // dx/dt
00034     dydx[1] = y[4];  // dx/dt
00035     dydx[2] = y[5];  // dx/dt
00036     dydx[3] =  0.10; // d^2x/dt^2
00037     dydx[4] = -0.10; // d^2x/dt^2
00038     dydx[5] =  0.10; // d^2x/dt^2
00039   }


The documentation for this class was generated from the following file:

Generated on 2 Jul 2018 for loon by  doxygen 1.6.1