-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
copyright and credit notices; gr15 -> ias15
- Loading branch information
1 parent
c27907c
commit ecd69b0
Showing
33 changed files
with
658 additions
and
16 deletions.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ias15.h | ||
======= | ||
|
||
.. doxygenfile:: ias15.h | ||
:project: GRSS | ||
|
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/** | ||
* @file approach.h | ||
* @brief Header file for close approach and impact detection. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef CLOSEAPPROACH_H | ||
#define CLOSEAPPROACH_H | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/** | ||
* @file elements.h | ||
* @brief Header file for the orbital elements. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef ELEMENTS_H | ||
#define ELEMENTS_H | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/** | ||
* @file force.h | ||
* @brief Header file for the force model. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef FORCE_H | ||
#define FORCE_H | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/** | ||
* @file grss.h | ||
* @brief Top level header file for GRSS | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef GRSS_H | ||
#define GRSS_H | ||
|
||
|
@@ -15,7 +37,7 @@ void PropSimulation::integrate() { | |
// integrate the system | ||
this->map_ephemeris(); | ||
this->preprocess(); | ||
gr15(this); | ||
ias15(this); | ||
if (!this->unsafePersistentMemoryMap) { | ||
this->unmap_ephemeris(); | ||
} | ||
|
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 |
---|---|---|
@@ -1,5 +1,27 @@ | ||
#ifndef GR15_H | ||
#define GR15_H | ||
/** | ||
* @file ias15.h | ||
* @brief Header file for the IAS15 integrator. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef IAS15_H | ||
#define IAS15_H | ||
|
||
#include "approach.h" | ||
|
||
|
@@ -102,6 +124,6 @@ void event_timestep_check(PropSimulation *propSim, real &dt); | |
/** | ||
* @brief 15th-order Gauss-Radau integrator for the PropSimulation. | ||
*/ | ||
void gr15(PropSimulation *propSim); | ||
void ias15(PropSimulation *propSim); | ||
|
||
#endif |
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/** | ||
* @file interpolate.h | ||
* @brief Header file for integrator interpolation functions. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef INTERPOLATE_H | ||
#define INTERPOLATE_H | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/** | ||
* @file observe.h | ||
* @brief Header file for the observable computations. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef OBSERVE_H | ||
#define OBSERVE_H | ||
|
||
|
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 |
---|---|---|
@@ -1,7 +1,29 @@ | ||
/** | ||
* @file parallel.h | ||
* @brief Header file for parallel propagation of bodies using OpenMP. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef PARALLEL_H | ||
#define PARALLEL_H | ||
|
||
#include "gr15.h" | ||
#include "ias15.h" | ||
#include <omp.h> | ||
|
||
/** | ||
|
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/** | ||
* @file pck.h | ||
* @brief Header file for the PCK binaries. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef PCK_H | ||
#define PCK_H | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/** | ||
* @file simulation.h | ||
* @brief Header file for the PropSimulation class and related structures. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef SIMULATION_H | ||
#define SIMULATION_H | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/** | ||
* @file spk.h | ||
* @brief Header file for the SPK ephemeris data. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
// code here is heavily modified but taken from | ||
// https://github.com/matthewholman/assist/tree/main/src/spk | ||
#ifndef SPK_H | ||
|
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 |
---|---|---|
@@ -1,3 +1,25 @@ | ||
/** | ||
* @file stm.h | ||
* @brief Header file for the STM functions. | ||
* @author Rahil Makadia <[email protected]> | ||
* | ||
* @section LICENSE | ||
* Copyright (C) 2022-2025 Rahil Makadia | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the Free | ||
* Software Foundation; either version 3 of the License, or (at your option) | ||
* any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
* more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along with | ||
* this program; if not, see <https://www.gnu.org/licenses>. | ||
*/ | ||
|
||
#ifndef STM_H | ||
#define STM_H | ||
|
||
|
Oops, something went wrong.