COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
physicsclass.cpp File Reference
#include "physicsclass.h"
Include dependency graph for physicsclass.cpp:

Namespaces

 Cosmos
 
 Cosmos::Physics
 

Functions

int32_t Cosmos::Physics::PhysCalc (locstruc *loc, physicsstruc *phys)
 
int32_t Cosmos::Physics::PhysSetup (physicsstruc *phys)
 
int32_t Cosmos::Physics::AttAccel (locstruc *loc, physicsstruc *phys)
 Attitude acceleration. More...
 
int32_t Cosmos::Physics::PosAccel (locstruc *loc, physicsstruc *phys)
 Position acceleration. More...
 
double Cosmos::Physics::Msis00Density (posstruc pos, float f107avg, float f107, float magidx)
 Calculate atmospheric density. More...
 
Vector Cosmos::Physics::GravityAccel (posstruc pos, uint16_t model, uint32_t degree)
 Spherical harmonic gravitational vector. More...
 
int32_t Cosmos::Physics::GravityParams (int16_t model)
 
double Cosmos::Physics::nplgndr (uint32_t l, uint32_t m, double x)
 Legendre polynomial. More...
 

Variables

static const uint8_t Cosmos::Physics::GravityPGM2000A = 1
 
static const uint8_t Cosmos::Physics::GravityEGM2008 = 2
 
static const uint8_t Cosmos::Physics::GravityPGM2000A_NORM = 3
 
static const uint8_t Cosmos::Physics::GravityEGM2008_NORM = 4
 
static const uint16_t Cosmos::Physics::maxdegree = 360
 Data structures for spherical harmonic expansion. More...
 
static double Cosmos::Physics::vc [maxdegree+1][maxdegree+1]
 
static double Cosmos::Physics::wc [maxdegree+1][maxdegree+1]
 
static double Cosmos::Physics::coef [maxdegree+1][maxdegree+1][2]
 
static double Cosmos::Physics::ftl [2 *maxdegree+1]
 
static double Cosmos::Physics::spmm [maxdegree+1]