All Classes Functions
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
DirectAscent Class Reference
Inheritance diagram for DirectAscent:
Inheritance graph
[legend]
Collaboration diagram for DirectAscent:
Collaboration graph
[legend]

Public Member Functions

void SetAllVars (const BODYPHYS &, const TGTPARAM &, const SHIP_PARAMS &)
void reset_values ()

Protected Member Functions

EnjoLib::Spherical CalculateSatellitePosition ()
bool IsNodeInFrontOfShip ()
EnjoLib::Vect3 CalcNode ()
double CalcAngDistToNode (const EnjoLib::Spherical &sph)
double CalcAngDistStartPosToNode ()
void InitInitialShipPosition ()
double CalcAngDistInPlane (const EnjoLib::Spherical &shPos, const EnjoLib::Spherical &satPos)
double CalcTimeToNodeOnGround ()
virtual bool InitInternalVars ()=0
virtual double GetShipsInitialAcceleration ()=0
void UpdateGreatCircleShip ()
void UpdateGreatCircleSatellite ()
void UpdatePlaneMomentumShip ()
void UpdatePlaneMomentumSatellite ()
double CalcSatFullRevolutionTime ()
double CalcPlaneRotationLongitude (double waitingTime)
EnjoLib::Spherical CalcPointOnWholeGreatCircle (double angRatio, double r, double latStart, double lonStart, bool bSatellite=false)
double CalcAngDistOfPlanes (const EnjoLib::Spherical &sph, EnjoLib::Vect3 v3SatPlaneN)
double CalculateAsymptore (const EnjoLib::Spherical &sphPos)
EnjoLib::Vect3 CalcShipVel3D (const EnjoLib::Vect3 &shPos)
EnjoLib::Point ConvertShipVel3Dto2D (const EnjoLib::Spherical &sphPos, const EnjoLib::Vect3 &shVel3D)
EnjoLib::Vect3 ConvertShipVel2Dto3D (const EnjoLib::Spherical &sphPos, const EnjoLib::Point &shVel2D)
EnjoLib::Vect3 Get2dPlaneY ()
EnjoLib::Vect3 Get2dPlaneX (const EnjoLib::Spherical &sphPos)
void inner_loop ()
void medium_loop ()
void main_loop_prepare (bool timeEfficient)
void main_loop_finalise ()

Protected Attributes

BODYPHYS bodyPhys
TGTPARAM tgtParam
SHIP_PARAMS shipParams
int main_iter
int iter
int inner_iter
Times m_t
bool solNotPossible
bool fuelEfSolNotPossible
double initial_rotation_vel
double initial_rotation_vel_wlat
double initialAccel
double Ldistance
double angDistance
double distanceShipSatFinal
double xDistance
double xPrvDistance
double mi
Satellite m_satellite
double target_radius
EnjoLib::Point tgt_orbit_v2_ref
double tgt_orbit_v2_ref_module
Ship m_ship
double sshx_excession
double dvUsed
double sshx_waiting
double max_xvel
double latStart
double lonStart
double lonCurrent
double debug
double debug2
double debug3
double debug4
double debug5
bool debugbool

Static Protected Attributes

static const int max_i = 500

Member Function Documentation

void DirectAscent::InitInitialShipPosition ( )
protected

sacc pobrac z opt vel solver:

void DirectAscent::inner_loop ( )
protected

TODO: Rotate this vector!!

ROTATING VECTOR

END ROTATING VECTOR

void DirectAscent::main_loop_prepare ( bool  timeEfficient)
protected

TODO: update this method


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