| Line |  | 
|---|
| 1 | /*! | 
|---|
| 2 | * @file gravity.h | 
|---|
| 3 | *  Definition of ... | 
|---|
| 4 |  | 
|---|
| 5 | */ | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef _GRAVITY_H | 
|---|
| 8 | #define _GRAVITY_H | 
|---|
| 9 |  | 
|---|
| 10 | #include "field.h" | 
|---|
| 11 |  | 
|---|
| 12 | // FORWARD DECLARATION | 
|---|
| 13 |  | 
|---|
| 14 |  | 
|---|
| 15 |  | 
|---|
| 16 | //! A class for ... | 
|---|
| 17 | class Gravity : public Field { | 
|---|
| 18 | ObjectListDeclaration(Gravity); | 
|---|
| 19 |  | 
|---|
| 20 | public: | 
|---|
| 21 | Gravity(const TiXmlElement* root = NULL); | 
|---|
| 22 | virtual ~Gravity(); | 
|---|
| 23 |  | 
|---|
| 24 | virtual void loadParams(const TiXmlElement* root); | 
|---|
| 25 |  | 
|---|
| 26 | virtual Vector calcForce(const Vector& data) const; | 
|---|
| 27 |  | 
|---|
| 28 | private: | 
|---|
| 29 |  | 
|---|
| 30 | }; | 
|---|
| 31 |  | 
|---|
| 32 | #endif /* _GRAVITY_H */ | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.