Skip to content

Commit

Permalink
Remove dependency on docstrings.h
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsoSR committed Jan 22, 2025
1 parent ae873a9 commit 05ad827
Show file tree
Hide file tree
Showing 43 changed files with 70 additions and 113 deletions.
3 changes: 1 addition & 2 deletions tudatpy/kernel/expose_astro/expose_element_conversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <tudat/interface/spice/spiceInterface.h>
#include <tudat/math/basic.h>

#include "docstrings.h"

namespace py = pybind11;
namespace toec = tudat::orbital_element_conversions;
Expand Down Expand Up @@ -1320,5 +1319,5 @@ numpy.ndarray
)doc");
}
} // namespace element_conversion
} // namespace astro
} // namespace astro
} // namespace tudatpy
3 changes: 1 addition & 2 deletions tudatpy/kernel/expose_astro/expose_frame_conversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <tudat/astro/ephemerides/rotationalEphemeris.h>
#include <tudat/astro/reference_frames.h>

#include "docstrings.h"

namespace trf = tudat::reference_frames;
namespace te = tudat::ephemerides;
Expand Down Expand Up @@ -316,5 +315,5 @@ Euler angle rotation (see Archinal et al. [1]_).
}

} // namespace frame_conversion
} // namespace astro
} // namespace astro
} // namespace tudatpy
5 changes: 2 additions & 3 deletions tudatpy/kernel/expose_astro/expose_fundamentals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <pybind11/pybind11.h>
#include <tudat/astro/basic_astro.h>

#include "docstrings.h"

namespace py = pybind11;
namespace tmg = tudat::mission_geometry;
Expand Down Expand Up @@ -63,5 +62,5 @@ float
}

} // namespace fundamentals
} // namespace astro
} // namespace tudatpy
} // namespace astro
} // namespace tudatpy
3 changes: 1 addition & 2 deletions tudatpy/kernel/expose_astro/expose_gravitation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <tudat/astro/gravitation.h>
#include <tudat/math/basic.h>

#include "docstrings.h"

namespace py = pybind11;
namespace tg = tudat::gravitation;
Expand Down Expand Up @@ -195,5 +194,5 @@ tuple[numpy.ndarray, numpy.ndarray]


} // namespace gravitation
} // namespace astro
} // namespace astro
} // namespace tudatpy
3 changes: 1 addition & 2 deletions tudatpy/kernel/expose_astro/expose_polyhedron_utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <pybind11/pybind11.h>
#include <tudat/astro/basic_astro/polyhedronFuntions.h>

#include "docstrings.h"

namespace tba = tudat::basic_astrodynamics;

Expand Down Expand Up @@ -248,5 +247,5 @@ numpy.ndarray
}

} // namespace polyhedron_utilities
} // namespace astro
} // namespace astro
} // namespace tudatpy
3 changes: 1 addition & 2 deletions tudatpy/kernel/expose_astro/expose_time_conversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <chrono>
#include <ctime>

#include "docstrings.h"
#include "scalarTypes.h"
#include "tudat/astro/basic_astro/dateTime.h"
#include "tudat/astro/basic_astro/physicalConstants.h"
Expand Down Expand Up @@ -1332,5 +1331,5 @@ DateTime
tba::JULIAN_DAY_ON_J2000);
}
} // namespace time_conversion
} // namespace astro
} // namespace astro
} // namespace tudatpy
1 change: 0 additions & 1 deletion tudatpy/kernel/expose_astro/expose_two_body_dynamics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <tudat/astro/basic_astro.h>
#include <tudat/astro/mission_segments.h>

#include "docstrings.h"

namespace py = pybind11;
namespace tms = tudat::mission_segments;
Expand Down
1 change: 0 additions & 1 deletion tudatpy/kernel/expose_constants.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <pybind11/complex.h>
#include <pybind11/pybind11.h>

#include "docstrings.h"
#include "tudat/astro/basic_astro/timeConversions.h"
#include "tudat/constants.h"

Expand Down
1 change: 0 additions & 1 deletion tudatpy/kernel/expose_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>

#include "docstrings.h"
#include "expose_data/expose_horizons.h"
#include "expose_data/expose_mission_data_downloader.h"
#include "expose_data/expose_mpc.h"
Expand Down
3 changes: 1 addition & 2 deletions tudatpy/kernel/expose_interface/expose_spice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <pybind11/stl.h>
#include <tudat/astro/basic_astro.h>

#include "docstrings.h"
#include "tudat/interface/spice.h"

namespace py = pybind11;
Expand Down Expand Up @@ -768,5 +767,5 @@ None
};

} // namespace spice
} // namespace interface
} // namespace interface
} // namespace tudatpy
3 changes: 1 addition & 2 deletions tudatpy/kernel/expose_math/expose_interpolators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

#include "docstrings.h"
#include "scalarTypes.h"

namespace py = pybind11;
Expand Down Expand Up @@ -657,5 +656,5 @@ OneDimensionalInterpolatorMatrix
}

} // namespace interpolators
} // namespace math
} // namespace math
} // namespace tudatpy
3 changes: 1 addition & 2 deletions tudatpy/kernel/expose_math/expose_root_finders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

#include <pybind11/pybind11.h>

#include "docstrings.h"
#include "tudat/math/root_finders.h"

namespace py = pybind11;
Expand Down Expand Up @@ -278,6 +277,6 @@ RootFinderSettings
}

} // namespace root_finders
} // namespace math
} // namespace math

} // namespace tudatpy
1 change: 0 additions & 1 deletion tudatpy/kernel/expose_math/expose_statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <pybind11/stl.h>
#include <tudat/basics/basicTypedefs.h>

#include "docstrings.h"
#include "tudat/astro/system_models/timingSystem.h"

namespace py = pybind11;
Expand Down
1 change: 0 additions & 1 deletion tudatpy/kernel/expose_numerical_simulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <pybind11/operators.h>
#include <pybind11/stl.h>

#include "docstrings.h"
#include "expose_numerical_simulation/expose_environment.h"
#include "expose_numerical_simulation/expose_environment_setup.h"
#include "expose_numerical_simulation/expose_estimation.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <tudat/astro/gravitation.h>
#include <tudat/basics/deprecationWarnings.h>

#include "docstrings.h"
#include "scalarTypes.h"
#include "tudat/astro/ground_stations/groundStation.h"
#include "tudat/simulation/environment_setup/body.h"
Expand Down Expand Up @@ -3219,5 +3218,5 @@ numpy.ndarray[numpy.float64[6, 1]]
*/
}
} // namespace environment
} // namespace numerical_simulation
} // namespace numerical_simulation
} // namespace tudatpy
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <tudat/astro/reference_frames/referenceFrameTransformations.h>
#include <tudat/simulation/environment_setup.h>

#include "docstrings.h"
#include "expose_environment_setup/expose_aerodynamic_coefficient_setup.h"
#include "expose_environment_setup/expose_atmosphere_setup.h"
#include "expose_environment_setup/expose_ephemeris_setup.h"
Expand Down Expand Up @@ -967,5 +966,5 @@ central_body_name : str


} // namespace environment_setup
} // namespace numerical_simulation
} // namespace numerical_simulation
} // namespace tudatpy
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@
#include <tudat/basics/deprecationWarnings.h>
#include <tudat/simulation/environment_setup.h>

#include "docstrings.h"

//#include <pybind11/chrono.h>
// #include <pybind11/chrono.h>
#include <pybind11/eigen.h>
#include <pybind11/functional.h>
//#include <pybind11/numpy.h>
// #include <pybind11/numpy.h>
#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
Expand Down Expand Up @@ -1366,6 +1365,6 @@ ControlSurfaceIncrementAerodynamicCoefficientSettings


} // namespace aerodynamic_coefficients
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace tudatpy
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <tudat/astro/reference_frames/referenceFrameTransformations.h>
#include <tudat/simulation/environment_setup.h>

#include "docstrings.h"

// #include <pybind11/chrono.h>
#include <pybind11/eigen.h>
Expand Down Expand Up @@ -817,6 +816,6 @@ by modifying an existing :class:`~tudatpy.numerical_simulation.environment_setup
}

} // namespace atmosphere
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace tudatpy
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
#include <tudat/basics/deprecationWarnings.h>
#include <tudat/simulation/environment_setup.h>

#include "docstrings.h"
#include "scalarTypes.h"

//#include <pybind11/chrono.h>
// #include <pybind11/chrono.h>
#include <pybind11/eigen.h>
#include <pybind11/functional.h>
//#include <pybind11/numpy.h>
// #include <pybind11/numpy.h>
#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
Expand Down Expand Up @@ -1216,6 +1215,6 @@ In this example, we create :class:`~tudatpy.numerical_simulation.environment_set


} // namespace ephemeris
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace tudatpy
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
#include <tudat/astro/reference_frames/referenceFrameTransformations.h>
#include <tudat/simulation/environment_setup.h>

#include "docstrings.h"

//#include <pybind11/chrono.h>
// #include <pybind11/chrono.h>
#include <pybind11/complex.h>
#include <pybind11/eigen.h>
#include <pybind11/functional.h>
Expand Down Expand Up @@ -973,6 +972,6 @@ SphericalHarmonicsGravityFieldSettings
}

} // namespace gravity_field
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace tudatpy
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
#include <tudat/astro/reference_frames/referenceFrameTransformations.h>
#include <tudat/simulation/environment_setup.h>

#include "docstrings.h"

//#include <pybind11/chrono.h>
// #include <pybind11/chrono.h>
#include <pybind11/eigen.h>
#include <pybind11/functional.h>
//#include <pybind11/numpy.h>
// #include <pybind11/numpy.h>
#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
Expand Down Expand Up @@ -478,6 +477,6 @@ BasicSolidBodyGravityFieldVariationSettings
}

} // namespace gravity_field_variation
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace tudatpy
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <tudat/simulation/environment_setup/createGroundStations.h>
#include <tudat/simulation/environment_setup/defaultBodies.h>

#include "docstrings.h"

namespace py = pybind11;
namespace tss = tudat::simulation_setup;
Expand Down Expand Up @@ -295,6 +294,6 @@ GroundStationMotionSettings
}

} // namespace ground_station
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace tudatpy
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
#include <tudat/astro/reference_frames/referenceFrameTransformations.h>
#include <tudat/simulation/environment_setup.h>

#include "docstrings.h"

//#include <pybind11/chrono.h>
// #include <pybind11/chrono.h>
#include <pybind11/eigen.h>
#include <pybind11/functional.h>
//#include <pybind11/numpy.h>
// #include <pybind11/numpy.h>
#include <pybind11/complex.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
Expand Down Expand Up @@ -1057,6 +1056,6 @@ RadiationPressureTargetModelSettings
}

} // namespace radiation_pressure
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace tudatpy
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
#include <tudat/astro/reference_frames/referenceFrameTransformations.h>
#include <tudat/simulation/environment_setup.h>

#include "docstrings.h"

//#include <pybind11/chrono.h>
// #include <pybind11/chrono.h>
#include <pybind11/complex.h>
#include <pybind11/eigen.h>
#include <pybind11/functional.h>
Expand Down Expand Up @@ -184,6 +183,6 @@ RigidBodyPropertiesSettings
}

} // namespace rigid_body
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace environment_setup
} // namespace numerical_simulation
} // namespace tudatpy
Loading

0 comments on commit 05ad827

Please sign in to comment.