GCOP  1.0
particle2d.h
Go to the documentation of this file.
00001 #ifndef GCOP_PARTICLE2D_H
00002 #define GCOP_PARTICLE2D_H
00003 
00004 #include "system.h"
00005 #include <limits>
00006 
00007 namespace gcop {
00008   
00009   using namespace std;
00010   using namespace Eigen;
00011   
00020   class Particle2d : public System<Vector4d, 4, 2> {
00021   public:
00022     Particle2d();
00023     
00024     double Step(Vector4d &xb, double t, const Vector4d &xa, 
00025                 const Vector2d &u, double h, const VectorXd *p = 0,
00026                 Matrix<double, 4, 4> *A = 0, Matrix<double, 4, 2> *B = 0, 
00027                 Matrix<double, 4, Dynamic> *C = 0);
00028     
00029     double m;  
00030     double r;  
00031   }; 
00032 }
00033 
00034 
00035 #endif