Renamed to Reset()
parent
4caaf6c435
commit
ab188ca3d8
7
SGP4.cpp
7
SGP4.cpp
|
@ -43,7 +43,8 @@
|
|||
#define THDT (4.37526908801129966e-3)
|
||||
|
||||
SGP4::SGP4(void) {
|
||||
first_run_ = true;
|
||||
|
||||
Reset();
|
||||
}
|
||||
|
||||
SGP4::~SGP4(void) {
|
||||
|
@ -54,7 +55,7 @@ void SGP4::SetTle(const Tle& tle) {
|
|||
/*
|
||||
* reset all constants etc
|
||||
*/
|
||||
ResetGlobalVariables();
|
||||
Reset();
|
||||
|
||||
/*
|
||||
* extract and format tle data
|
||||
|
@ -1241,7 +1242,7 @@ void SGP4::DeepSpaceIntegrator(const double delt, const double step2,
|
|||
d_atime_ += delt;
|
||||
}
|
||||
|
||||
void SGP4::ResetGlobalVariables() {
|
||||
void SGP4::Reset() {
|
||||
|
||||
/*
|
||||
* common variables
|
||||
|
|
2
SGP4.h
2
SGP4.h
|
@ -119,7 +119,7 @@ private:
|
|||
void DeepSpaceCalcDotTerms(double* xndot, double* xnddt, double* xldot) const;
|
||||
void DeepSpaceIntegrator(const double delt, const double step2,
|
||||
const double xndot, const double xnddt, const double xldot)const;
|
||||
void ResetGlobalVariables();
|
||||
void Reset();
|
||||
|
||||
bool first_run_;
|
||||
bool use_simple_model_;
|
||||
|
|
Loading…
Reference in New Issue