Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
Orbit.CASolutionState Struct Reference

Public Member Functions

 CASolutionState (Orbit p, Orbit s, double MaxDT)
 initialize the struct: p is primary orbit, s is secondary More...
 
double Clamp_dt (double dt)
 Keep time step within reasonable limits as guessed by Update (for the presolver) More...
 
double Halley_dt ()
 Calculate the time step to the next guess of the solution using Halley's method. More...
 
void Update (double t, ref int iter, bool dump=false)
 recalculate state vectors and derivatives at the specified time, updating the iteration count (really, number of calls to the potentially expensive MA->EA solver) More...
 

Public Attributes

double ddrdv
 
double drdv
 
double MaxDT
 
double maxdt
 
Orbit p
 
State pstate
 
double rdv
 
State rstate
 
Orbit s
 
State sstate
 

Properties

bool targetAhead [get]
 Check if the target (secondary) is ahead More...
 

Constructor & Destructor Documentation

Orbit.CASolutionState.CASolutionState ( Orbit  p,
Orbit  s,
double  MaxDT 
)
inline

initialize the struct: p is primary orbit, s is secondary

Member Function Documentation

double Orbit.CASolutionState.Clamp_dt ( double  dt)
inline

Keep time step within reasonable limits as guessed by Update (for the presolver)

double Orbit.CASolutionState.Halley_dt ( )
inline

Calculate the time step to the next guess of the solution using Halley's method.

void Orbit.CASolutionState.Update ( double  t,
ref int  iter,
bool  dump = false 
)
inline

recalculate state vectors and derivatives at the specified time, updating the iteration count (really, number of calls to the potentially expensive MA->EA solver)

Member Data Documentation

double Orbit.CASolutionState.ddrdv
double Orbit.CASolutionState.drdv
double Orbit.CASolutionState.MaxDT
double Orbit.CASolutionState.maxdt
Orbit Orbit.CASolutionState.p
State Orbit.CASolutionState.pstate
double Orbit.CASolutionState.rdv
State Orbit.CASolutionState.rstate
Orbit Orbit.CASolutionState.s
State Orbit.CASolutionState.sstate

Property Documentation

bool Orbit.CASolutionState.targetAhead
get

Check if the target (secondary) is ahead


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