forked from kartikkumar/d2d
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add departure epoch loop #2
Merged
kartikkumar
merged 7 commits into
openastro:master
from
ennehekma:add_departure_epoch_loop
Mar 10, 2016
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1a61139
Add departure epoch loop to lambertScanner
ennehekma 1798b7f
Add departure epoch loop to lambert_scanner mode. Associated test has…
ennehekma cda34a7
Correct blank lines
ennehekma c703fe8
Correct blank lines
ennehekma d11d5ee
Change variable naming to be consistent with the rest
ennehekma e76ef32
Add loop to scan map plot script to generate scanmap for each departu…
ennehekma 0a97391
Fix small formatting issues and update Panda version in requirements.
ennehekma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,22 +52,26 @@ struct LambertScannerInput | |
* Constructs data struct based on verified input parameters. | ||
* | ||
* @sa checkLambertScannerInput, executeLambertScanner | ||
* @param[in] aCatalogPath Path to TLE catalog | ||
* @param[in] aDatabasePath Path to SQLite database | ||
* @param[in] aDepartureEpoch Departure epoch for all transfers | ||
* @param[in] aTimeOfFlightMinimum Minimum time-of-flight [s] | ||
* @param[in] aTimeOfFlightMaximum Maximum time-of-flight [s] | ||
* @param[in] someTimeOfFlightSteps Number of steps to take in time-of-flight grid | ||
* @param[in] aTimeOfFlightStepSize Time-of-flight step size (derived parameter) [s] | ||
* @param[in] progradeFlag Flag indicating if prograde transfer should be computed | ||
* (false = retrograde) | ||
* @param[in] aRevolutionsMaximum Maximum number of revolutions | ||
* @param[in] aShortlistLength Number of transfers to include in shortlist | ||
* @param[in] aShortlistPath Path to shortlist file | ||
* @param[in] aCatalogPath Path to TLE catalog | ||
* @param[in] aDatabasePath Path to SQLite database | ||
* @param[in] aDepartureEpochInitial Departure epoch grid initial epoch | ||
* @param[in] aDepartureEpochSteps Number of steps to take in departure epoch grid | ||
* @param[in] aDepartureEpochStepSize Departure epoch grid step size (derived parameter) [s] | ||
* @param[in] aTimeOfFlightMinimum Minimum time-of-flight [s] | ||
* @param[in] aTimeOfFlightMaximum Maximum time-of-flight [s] | ||
* @param[in] someTimeOfFlightSteps Number of steps to take in time-of-flight grid | ||
* @param[in] aTimeOfFlightStepSize Time-of-flight step size (derived parameter) [s] | ||
* @param[in] progradeFlag Flag indicating if prograde transfer should be computed | ||
* (false = retrograde) | ||
* @param[in] aRevolutionsMaximum Maximum number of revolutions | ||
* @param[in] aShortlistLength Number of transfers to include in shortlist | ||
* @param[in] aShortlistPath Path to shortlist file | ||
*/ | ||
LambertScannerInput( const std::string& aCatalogPath, | ||
const std::string& aDatabasePath, | ||
const DateTime& aDepartureEpoch, | ||
const DateTime& aDepartureEpochInitial, | ||
const double aDepartureEpochSteps, | ||
const double aDepartureEpochStepSize, | ||
const double aTimeOfFlightMinimum, | ||
const double aTimeOfFlightMaximum, | ||
const double someTimeOfFlightSteps, | ||
|
@@ -78,7 +82,9 @@ struct LambertScannerInput | |
const std::string& aShortlistPath ) | ||
: catalogPath( aCatalogPath ), | ||
databasePath( aDatabasePath ), | ||
departureEpoch( aDepartureEpoch ), | ||
departureEpochInitial( aDepartureEpochInitial ), | ||
departureEpochSteps( aDepartureEpochSteps ), | ||
departureEpochStepSize( aDepartureEpochStepSize ), | ||
timeOfFlightMinimum( aTimeOfFlightMinimum ), | ||
timeOfFlightMaximum( aTimeOfFlightMaximum ), | ||
timeOfFlightSteps( someTimeOfFlightSteps ), | ||
|
@@ -96,7 +102,13 @@ struct LambertScannerInput | |
const std::string databasePath; | ||
|
||
//! Departure epoch. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ennehekma Can you change this to say:
|
||
const DateTime departureEpoch; | ||
const DateTime departureEpochInitial; | ||
|
||
//! Number of departure epoch steps. | ||
const double departureEpochSteps; | ||
|
||
//! Departure epoch grid step size. | ||
const double departureEpochStepSize; | ||
|
||
//! Minimum time-of-flight [s]. | ||
const double timeOfFlightMinimum; | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ennehekma To be consistent with the time-of-flight variable, can you change this to: