|  | COSMOS core
    1.0.2 (beta)
    Comprehensive Open-architecture Solution for Mission Operations Systems | 
| Classes | |
| class | ElectricalPropagator | 
| class | GaussJacksonPositionPropagator | 
| class | InertialAttitudePropagator | 
| class | InertialPositionPropagator | 
| class | IterativeAttitudePropagator | 
| class | IterativePositionPropagator | 
| class | LVLHAttitudePropagator | 
| class | Propagator | 
| class | State | 
| class | Structure | 
| class | ThermalPropagator | 
| Functions | |
| int32_t | PhysCalc (locstruc *loc, physicsstruc *phys) | 
| int32_t | PhysSetup (physicsstruc *phys) | 
| int32_t | AttAccel (locstruc *loc, physicsstruc *phys) | 
| Attitude acceleration.  More... | |
| int32_t | PosAccel (locstruc *loc, physicsstruc *phys) | 
| Position acceleration.  More... | |
| double | Msis00Density (posstruc pos, float f107avg, float f107, float magidx) | 
| Calculate atmospheric density.  More... | |
| Vector | GravityAccel (posstruc pos, uint16_t model, uint32_t degree) | 
| Spherical harmonic gravitational vector.  More... | |
| int32_t | GravityParams (int16_t model) | 
| double | nplgndr (uint32_t l, uint32_t m, double x) | 
| Legendre polynomial.  More... | |
| double | Nplgndr (uint32_t l, uint32_t m, double x) | 
| Variables | |
| static const uint8_t | GravityPGM2000A = 1 | 
| static const uint8_t | GravityEGM2008 = 2 | 
| static const uint8_t | GravityPGM2000A_NORM = 3 | 
| static const uint8_t | GravityEGM2008_NORM = 4 | 
| static const uint16_t | maxdegree = 360 | 
| Data structures for spherical harmonic expansion.  More... | |
| static double | vc [maxdegree+1][maxdegree+1] | 
| static double | wc [maxdegree+1][maxdegree+1] | 
| static double | coef [maxdegree+1][maxdegree+1][2] | 
| static double | ftl [2 *maxdegree+1] | 
| static double | spmm [maxdegree+1] | 
| int32_t Cosmos::Physics::PhysCalc | ( | locstruc * | loc, | 
| physicsstruc * | phys | ||
| ) | 
Calculate dynamic physical attributes Calculate various derived physical quantities that change, like heat, power generation, torque and drag
| loc | Pointer to locstruc | 
| phys | Pointer to ::physstruc | 
| int32_t Cosmos::Physics::PhysSetup | ( | physicsstruc * | phys | ) | 
Calculate static physical attributes Calculate various derived physical quantities, like Center of Mass and Moments of Inertia
| loc | Pointer to locstruc | 
| phys | Pointer to ::physstruc | 
| int32_t Cosmos::Physics::AttAccel | ( | locstruc * | loc, | 
| physicsstruc * | phys | ||
| ) | 
Attitude acceleration.
Calculate the torque forces on the specified satellite at the specified location/
| physics | Pointer to structure specifying satellite. | 
| loc | Structure specifying location. | 
| int32_t Cosmos::Physics::PosAccel | ( | locstruc * | loc, | 
| physicsstruc * | phys | ||
| ) | 
Position acceleration.
Calculate the linear forces on the specified sattelite at the specified location/
| phys | Pointer to structure specifying satellite. | 
| loc | Structure specifying location. | 
| double Cosmos::Physics::Msis00Density | ( | posstruc | pos, | 
| float | f107avg, | ||
| float | f107, | ||
| float | magidx | ||
| ) | 
Calculate atmospheric density.
Calculate atmospheric density at indicated Latitute/Longitude/Altitude using the NRLMSISE-00 atmospheric model.
| pos | Structure indicating position | 
| f107avg | Average 10.7 cm solar flux | 
| f107 | Current 10.7 cm solar flux | 
| magidx | Ap daily geomagnetic index | 
Spherical harmonic gravitational vector.
Calculates a spherical harmonic expansion of the chosen model of indicated order and degree for the requested position. The result is returned as a geocentric vector calculated at the epoch.
| pos | a posstruc providing the position at the epoch | 
| model | Model to use for coefficients | 
| degree | Order and degree to calculate | 
| int32_t Cosmos::Physics::GravityParams | ( | int16_t | model | ) | 
| double Cosmos::Physics::Nplgndr | ( | uint32_t | l, | 
| uint32_t | m, | ||
| double | x | ||
| ) | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
Data structures for spherical harmonic expansion.
Coefficients for real and imaginary components of expansion. Of order and rank maxdegree
| 
 | static | 
| 
 | static |