PendulumIntegrator Class Reference

Inheritance diagram for PendulumIntegrator:

Inheritance graph
[legend]
Collaboration diagram for PendulumIntegrator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PendulumIntegrator (const Matrix< double > &initialState, double initialTime=0)
virtual gpstk::Matrix< double > & derivative (long double time, const gpstk::Matrix< double > &inState, gpstk::Matrix< double > &inStateDot)
 This is the function to be integrated.
void setPhysics (double accGrav, double length)

Constructor & Destructor Documentation

PendulumIntegrator const Matrix< double > &  initialState,
double  initialTime = 0
[inline]
 

Definition at line 46 of file RungeKuttaTest.cpp.


Member Function Documentation

gpstk::Matrix< double > & derivative long double  time,
const gpstk::Matrix< double > &  inState,
gpstk::Matrix< double > &  inStateDot
[virtual]
 

This is the function to be integrated.

Parameters:
time the time at which to evaluate the derivative
inState the Matrix to evaluate the derivative of at /a time.
inStateDot the derivative of /a inState evaluated at /a time.
Returns:
a reference to /a inStateDot

Implements RungeKutta4.

Definition at line 66 of file RungeKuttaTest.cpp.

References gpstk::sin().

void setPhysics double  accGrav,
double  length
[inline]
 

Definition at line 56 of file RungeKuttaTest.cpp.

Referenced by main().


The documentation for this class was generated from the following file:
Generated on Wed Feb 8 03:31:24 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1