#include <ForceModel.hpp>
Inheritance diagram for ForceModel:


Definition at line 49 of file ForceModel.hpp.
Public Types | |
| enum | ForceModelIndex { FMI_BASE = 1000, FMI_GEOEARTH, FMI_GEOSUN, FMI_GEOMOON, FMI_DRAG, FMI_SRP, FMI_RELATIVE, FMT_EMPIRICAL, FMI_LIST = 2000 } |
| To identify every force model and make sure one type of force exist only one instance in the force model list. More... | |
| enum | ForceModelType { Cd, Cr } |
Public Member Functions | |
| ForceModel () | |
| Default constructor. | |
| virtual | ~ForceModel () |
| Default destructor. | |
| virtual void | doCompute (UTCTime t, EarthBody &bRef, Spacecraft &sc) |
| this is the real one to do computation | |
| virtual std::string | modelName () const |
| return the force model name | |
| virtual int | forceIndex () const |
| return the force model index | |
| virtual Vector< double > | getAccel () const |
| Return the acceleration. | |
| virtual Matrix< double > | partialR () const |
| Return the partial derivative of acceleration wrt position. | |
| virtual Matrix< double > | partialV () const |
| Return the partial derivative of acceleration wrt velocity. | |
| virtual Matrix< double > | partialP () const |
| Return the partial derivative of acceleration wrt velocity. | |
| virtual Matrix< double > | partialCd () const |
| Return the partial derivative of acceleration wrt velocity. | |
| virtual Matrix< double > | partialCr () const |
| Return the partial derivative of acceleration wrt velocity. | |
| int | getNP () const |
| return number of np | |
| Matrix< double > | getAMatrix () const |
| get A Matrix | |
| void | test () |
Protected Attributes | |
| Vector< double > | a |
| Acceleration. | |
| Matrix< double > | da_dr |
| Partial derivative of acceleration wrt position. | |
| Matrix< double > | da_dv |
| Partial derivative of acceleration wrt velocity. | |
| Matrix< double > | da_dp |
| Partial derivative of acceleration wrt dynamic parameters. | |
| Matrix< double > | da_dcd |
| Partial derivative of acceleration wrt Cd. | |
| Matrix< double > | da_dcr |
| Partial derivative of acceleration wrt Cr. | |
|
|
To identify every force model and make sure one type of force exist only one instance in the force model list. class indexed with FMI_BASE and FMI_LIST can't be added to the force model list
Definition at line 57 of file ForceModel.hpp. |
|
|
Definition at line 74 of file ForceModel.hpp. |
|
|
Default constructor.
Definition at line 81 of file ForceModel.hpp. |
|
|
Default destructor.
Definition at line 93 of file ForceModel.hpp. |
|
||||||||||||||||
|
this is the real one to do computation
Reimplemented in AtmosphericDrag, MoonForce, RelativityEffect, SolarRadiationPressure, SphericalHarmonicGravity, and SunForce. Definition at line 97 of file ForceModel.hpp. |
|
|
return the force model index
Reimplemented in AtmosphericDrag, ForceModelList, MoonForce, RelativityEffect, SolarRadiationPressure, SphericalHarmonicGravity, and SunForce. Definition at line 115 of file ForceModel.hpp. |
|
|
Return the acceleration.
Definition at line 123 of file ForceModel.hpp. Referenced by gpstk::operator<<(), HarrisPriesterDrag::test(), and CiraExponentialDrag::test(). |
|
|
get A Matrix
Definition at line 167 of file ForceModel.hpp. Referenced by ForceModelList::getDerivatives(), and gpstk::operator<<(). |
|
|
return number of np
Definition at line 163 of file ForceModel.hpp. |
|
|
return the force model name
Reimplemented in AtmosphericDrag, ForceModelList, MoonForce, RelativityEffect, SolarRadiationPressure, SphericalHarmonicGravity, and SunForce. Definition at line 110 of file ForceModel.hpp. |
|
|
Return the partial derivative of acceleration wrt velocity.
Definition at line 151 of file ForceModel.hpp. |
|
|
Return the partial derivative of acceleration wrt velocity.
Definition at line 158 of file ForceModel.hpp. |
|
|
Return the partial derivative of acceleration wrt velocity.
Definition at line 144 of file ForceModel.hpp. Referenced by gpstk::operator<<(). |
|
|
Return the partial derivative of acceleration wrt position.
Definition at line 130 of file ForceModel.hpp. Referenced by gpstk::operator<<(). |
|
|
Return the partial derivative of acceleration wrt velocity.
Definition at line 137 of file ForceModel.hpp. Referenced by gpstk::operator<<(). |
|
|
Reimplemented in CiraExponentialDrag, HarrisPriesterDrag, Msise00Drag, SphericalHarmonicGravity, and SunForce. Definition at line 221 of file ForceModel.hpp. |
|
|
Acceleration.
Definition at line 239 of file ForceModel.hpp. Referenced by RelativityEffect::doCompute(), and ForceModelList::getDerivatives(). |
|
|
Partial derivative of acceleration wrt Cd.
Definition at line 251 of file ForceModel.hpp. Referenced by AtmosphericDrag::doCompute(), and ForceModelList::getDerivatives(). |
|
|
Partial derivative of acceleration wrt Cr.
Definition at line 254 of file ForceModel.hpp. Referenced by SolarRadiationPressure::doCompute(), and ForceModelList::getDerivatives(). |
|
|
Partial derivative of acceleration wrt dynamic parameters.
Definition at line 248 of file ForceModel.hpp. Referenced by ForceModelList::getDerivatives(). |
|
|
Partial derivative of acceleration wrt position.
Definition at line 242 of file ForceModel.hpp. Referenced by SunForce::doCompute(), SolarRadiationPressure::doCompute(), RelativityEffect::doCompute(), and MoonForce::doCompute(). |
|
|
Partial derivative of acceleration wrt velocity.
Definition at line 245 of file ForceModel.hpp. |
1.3.9.1