WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
warptwin::CR3BPDynamics Class Reference

#include <CR3BPDynamics.h>

Inheritance diagram for warptwin::CR3BPDynamics:

Public Member Functions

 CR3BPDynamics ()
int16 calculateRates (floating_point time, const std::array< floating_point, NUM_CR3BP_STATES > &state, std::array< floating_point, NUM_CR3BP_STATES > &out_rates) override
 Function to calculate frame rates of change for a frame.
Public Member Functions inherited from warpos::Rates< NUM_CR3BP_STATES >
virtual int16 calculateRates (floating_point time, const std::array< floating_point, N > &state, std::array< floating_point, 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.

Constructor & Destructor Documentation

◆ CR3BPDynamics()

warptwin::CR3BPDynamics::CR3BPDynamics ( )
inline

Member Function Documentation

◆ calculateRates()

int16 warptwin::CR3BPDynamics::calculateRates ( floating_point time,
const std::array< floating_point, NUM_CR3BP_STATES > & state,
std::array< floating_point, NUM_CR3BP_STATES > & out_rates )
override

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

Member Data Documentation

◆ mu_star

double warptwin::CR3BPDynamics::mu_star

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


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