ModelSpace
All Classes Namespaces Functions Variables Enumerations Pages
modelspace::CR3BPDynamics Class Reference
Inheritance diagram for modelspace::CR3BPDynamics:
Collaboration diagram for modelspace::CR3BPDynamics:

Public Member Functions

int calculateRates (double time, const std::array< double, NUM_CR3BP_STATES > &state, std::array< double, NUM_CR3BP_STATES > &out_rates)
 Function to calculate frame rates of change for a frame.
 
virtual int calculateRates (double time, const std::array< double, N > &state, std::array< double, N > &out_rates)
 Function to calculate rates from current state of system.
 

Public Attributes

double mu_star
 This is the ratio of second body mass to total system mass.
 

Member Function Documentation

◆ calculateRates() [1/2]

virtual int clockwerk::Rates< double , N >::calculateRates ( double  time,
const std::array< double , N > &  state,
std::array< double , N > &  out_rates 
)
inlinevirtualinherited

Function to calculate rates from current state of system.

Parameters
timeThe reference time
stateThe reference state
out_ratesImplicit return of rates based on time, state

◆ calculateRates() [2/2]

int modelspace::CR3BPDynamics::calculateRates ( double  time,
const std::array< double, NUM_CR3BP_STATES > &  state,
std::array< double, NUM_CR3BP_STATES > &  out_rates 
)
inline

Function to calculate frame rates of change for a frame.

Parameters
timeThe time input for the calculation. Uses current time
stateThe current state vector in the calculation
out_ratesImplicit return of rates of change in states

The documentation for this class was generated from the following file: