From ae873a92553184c4b48035632092a144a3d0f59f Mon Sep 17 00:00:00 2001 From: alfonso Date: Wed, 22 Jan 2025 19:57:31 +0100 Subject: [PATCH] Run clang formatter on c++ code --- tudatpy/kernel/expose_astro.h | 10 ++--- .../expose_astro/expose_element_conversion.h | 14 +++---- .../expose_astro/expose_frame_conversion.h | 14 +++---- .../kernel/expose_astro/expose_fundamentals.h | 14 +++---- .../kernel/expose_astro/expose_gravitation.h | 14 +++---- .../expose_polyhedron_utilities.h | 14 +++---- .../expose_astro/expose_time_conversion.h | 14 +++---- .../expose_astro/expose_two_body_dynamics.h | 8 ++-- tudatpy/kernel/expose_constants.h | 10 ++--- tudatpy/kernel/expose_data.h | 11 +++-- tudatpy/kernel/expose_data/expose_horizons.h | 14 +++---- .../expose_mission_data_downloader.h | 16 +++---- tudatpy/kernel/expose_data/expose_mpc.h | 14 +++---- tudatpy/kernel/expose_data/expose_sbdb.h | 14 +++---- tudatpy/kernel/expose_example.h | 6 +-- tudatpy/kernel/expose_interface.h | 10 ++--- .../kernel/expose_interface/expose_spice.h | 14 +++---- tudatpy/kernel/expose_math.h | 10 ++--- tudatpy/kernel/expose_math/expose_geometry.h | 4 +- .../kernel/expose_math/expose_interpolators.h | 14 +++---- .../expose_numerical_integrators.h | 4 +- .../kernel/expose_math/expose_root_finders.h | 19 ++++----- .../kernel/expose_math/expose_statistics.h | 18 ++++---- tudatpy/kernel/expose_numerical_simulation.h | 13 +++--- .../deprecation_support.h | 16 +++---- .../expose_environment.h | 15 ++++--- .../expose_environment_setup.h | 14 +++---- .../expose_aerodynamic_coefficient_setup.h | 18 ++++---- .../expose_atmosphere_setup.h | 18 ++++---- .../expose_ephemeris_setup.h | 18 ++++---- .../expose_gravity_field_setup.h | 18 ++++---- .../expose_gravity_field_variation_setup.h | 18 ++++---- .../expose_ground_station_setup.h | 22 +++++----- .../expose_radiation_pressure_setup.h | 18 ++++---- .../expose_rigid_body_setup.h | 18 ++++---- .../expose_rotation_model_setup.h | 18 ++++---- .../expose_shape_deformation_setup.h | 22 +++++----- .../expose_shape_setup.h | 18 ++++---- .../expose_vehicle_systems_setup.h | 18 ++++---- .../expose_estimation.h | 20 ++++----- .../expose_estimation_setup.h | 20 ++++----- .../expose_estimated_parameter_setup.h | 18 ++++---- .../expose_observation_setup.h | 18 ++++---- .../expose_propagation.h | 18 ++++---- .../expose_propagation_setup.h | 15 ++++--- .../expose_acceleration_setup.h | 42 +++++++++---------- .../expose_dependent_variable_setup.h | 18 ++++---- .../expose_integrator_setup.h | 18 ++++---- .../expose_mass_rate_setup.h | 19 ++++----- .../expose_propagator_setup.h | 18 ++++---- .../expose_thrust_setup.h | 19 ++++----- .../expose_torque_setup.h | 19 ++++----- tudatpy/kernel/expose_trajectory_design.h | 10 ++--- .../expose_shape_based_thrust.h | 14 +++---- .../expose_transfer_trajectory.h | 14 +++---- tudatpy/kernel/expose_unit_tests.h | 7 ++-- tudatpy/kernel/expose_utils.h | 10 ++--- tudatpy/kernel/expose_utils/expose_data.h | 14 +++---- tudatpy/temp/cli/templates/cpp_class.h | 13 +++--- tudatpy/temp/cli/templates/cpp_header.h | 6 +-- tudatpy/temp/cli/templates/pybind_submodule.h | 19 +++++---- 61 files changed, 458 insertions(+), 473 deletions(-) diff --git a/tudatpy/kernel/expose_astro.h b/tudatpy/kernel/expose_astro.h index 4eb6bc3c..4221cbf4 100644 --- a/tudatpy/kernel/expose_astro.h +++ b/tudatpy/kernel/expose_astro.h @@ -16,11 +16,11 @@ namespace py = pybind11; namespace tudatpy { -namespace astro { + namespace astro { -void expose_astro(py::module &m); + void expose_astro(py::module &m); -} // namespace astro -}// namespace tudatpy + } // namespace astro +} // namespace tudatpy -#endif// TUDATPY_EXPOSE_ASTRO_H +#endif // TUDATPY_EXPOSE_ASTRO_H diff --git a/tudatpy/kernel/expose_astro/expose_element_conversion.h b/tudatpy/kernel/expose_astro/expose_element_conversion.h index 2a79af16..61c3d1dc 100644 --- a/tudatpy/kernel/expose_astro/expose_element_conversion.h +++ b/tudatpy/kernel/expose_astro/expose_element_conversion.h @@ -17,14 +17,14 @@ namespace py = pybind11; namespace tudatpy { -namespace astro { -namespace element_conversion { + namespace astro { + namespace element_conversion { -void expose_element_conversion(py::module &m); + void expose_element_conversion(py::module &m); -} // namespace element_conversion -} // namespace astro -} + } // namespace element_conversion + } // namespace astro +} // namespace tudatpy -#endif// TUDATPY_EXPOSE_ELEMENT_CONVERSIONS_H +#endif // TUDATPY_EXPOSE_ELEMENT_CONVERSIONS_H diff --git a/tudatpy/kernel/expose_astro/expose_frame_conversion.h b/tudatpy/kernel/expose_astro/expose_frame_conversion.h index 2a2474b2..ae6933e5 100644 --- a/tudatpy/kernel/expose_astro/expose_frame_conversion.h +++ b/tudatpy/kernel/expose_astro/expose_frame_conversion.h @@ -17,13 +17,13 @@ namespace py = pybind11; namespace tudatpy { -namespace astro { -namespace frame_conversion { + namespace astro { + namespace frame_conversion { -void expose_frame_conversion(py::module &m); + void expose_frame_conversion(py::module &m); -} -} -} + } + } // namespace astro +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_FRAME_CONVERSION_H +#endif // TUDATPY_EXPOSE_FRAME_CONVERSION_H diff --git a/tudatpy/kernel/expose_astro/expose_fundamentals.h b/tudatpy/kernel/expose_astro/expose_fundamentals.h index 78166d4a..721b45ad 100644 --- a/tudatpy/kernel/expose_astro/expose_fundamentals.h +++ b/tudatpy/kernel/expose_astro/expose_fundamentals.h @@ -16,13 +16,13 @@ namespace py = pybind11; namespace tudatpy { -namespace astro { -namespace fundamentals { + namespace astro { + namespace fundamentals { - void expose_fundamentals(py::module &m); + void expose_fundamentals(py::module &m); -} // namespace fundamentals -} // namespace astro -} // namespace tudatpy + } // namespace fundamentals + } // namespace astro +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_FUNDAMENTALS_H \ No newline at end of file +#endif // TUDATPY_EXPOSE_FUNDAMENTALS_H \ No newline at end of file diff --git a/tudatpy/kernel/expose_astro/expose_gravitation.h b/tudatpy/kernel/expose_astro/expose_gravitation.h index 6ef4a3c8..85909310 100644 --- a/tudatpy/kernel/expose_astro/expose_gravitation.h +++ b/tudatpy/kernel/expose_astro/expose_gravitation.h @@ -17,13 +17,13 @@ namespace py = pybind11; namespace tudatpy { -namespace astro { -namespace gravitation { + namespace astro { + namespace gravitation { -void expose_gravitation(py::module &m); + void expose_gravitation(py::module &m); -} // namespace gravitation -} // namespace astro -} // namespace tudatpy + } // namespace gravitation + } // namespace astro +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_GRAVITATION_H +#endif // TUDATPY_EXPOSE_GRAVITATION_H diff --git a/tudatpy/kernel/expose_astro/expose_polyhedron_utilities.h b/tudatpy/kernel/expose_astro/expose_polyhedron_utilities.h index d1086b33..a33b53c7 100644 --- a/tudatpy/kernel/expose_astro/expose_polyhedron_utilities.h +++ b/tudatpy/kernel/expose_astro/expose_polyhedron_utilities.h @@ -16,14 +16,14 @@ namespace py = pybind11; namespace tudatpy { -namespace astro { -namespace polyhedron_utilities { + namespace astro { + namespace polyhedron_utilities { -void expose_polyhedron_utilities(py::module &m); + void expose_polyhedron_utilities(py::module &m); -} // namespace polyhedron_utilities -} // namespace astro -} // namespace tudatpy + } // namespace polyhedron_utilities + } // namespace astro +} // namespace tudatpy -#endif //TUDATBUNDLE_EXPOSE_POLYHEDRON_UTILITIES_H +#endif // TUDATBUNDLE_EXPOSE_POLYHEDRON_UTILITIES_H diff --git a/tudatpy/kernel/expose_astro/expose_time_conversion.h b/tudatpy/kernel/expose_astro/expose_time_conversion.h index 712af767..75d8870f 100644 --- a/tudatpy/kernel/expose_astro/expose_time_conversion.h +++ b/tudatpy/kernel/expose_astro/expose_time_conversion.h @@ -17,14 +17,14 @@ namespace py = pybind11; namespace tudatpy { -namespace astro { -namespace time_conversion { + namespace astro { + namespace time_conversion { -void expose_time_conversion(py::module &m); + void expose_time_conversion(py::module &m); -} // namespace time_conversion -} // namespace astro -} + } // namespace time_conversion + } // namespace astro +} // namespace tudatpy -#endif// TUDATPY_EXPOSE_TIME_CONVERSIONS_H +#endif // TUDATPY_EXPOSE_TIME_CONVERSIONS_H diff --git a/tudatpy/kernel/expose_astro/expose_two_body_dynamics.h b/tudatpy/kernel/expose_astro/expose_two_body_dynamics.h index 46f45f3c..63d5dffb 100644 --- a/tudatpy/kernel/expose_astro/expose_two_body_dynamics.h +++ b/tudatpy/kernel/expose_astro/expose_two_body_dynamics.h @@ -21,8 +21,8 @@ namespace tudatpy { void expose_two_body_dynamics(py::module &m); -} // namespace two_body_dynamics -} // namespace astro -} // namespace tudatpy + } // namespace two_body_dynamics + } // namespace astro +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_TWO_BODY_DYNAMICS_H +#endif // TUDATPY_EXPOSE_TWO_BODY_DYNAMICS_H diff --git a/tudatpy/kernel/expose_constants.h b/tudatpy/kernel/expose_constants.h index 4af51053..50f2f270 100644 --- a/tudatpy/kernel/expose_constants.h +++ b/tudatpy/kernel/expose_constants.h @@ -16,9 +16,9 @@ namespace py = pybind11; namespace tudatpy { -namespace constants { - void expose_constants(py::module &m); -} -} + namespace constants { + void expose_constants(py::module &m); + } +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_CONSTANTS_H +#endif // TUDATPY_EXPOSE_CONSTANTS_H diff --git a/tudatpy/kernel/expose_data.h b/tudatpy/kernel/expose_data.h index c2cc26ee..54c62c90 100644 --- a/tudatpy/kernel/expose_data.h +++ b/tudatpy/kernel/expose_data.h @@ -6,19 +6,18 @@ #define TUDATPY_EXPOSE_IO_H #include - #include namespace py = pybind11; namespace tudatpy { -namespace data { + namespace data { - void expose_data(py::module &m); + void expose_data(py::module &m); -} -} + } +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_IO_H +#endif // TUDATPY_EXPOSE_IO_H diff --git a/tudatpy/kernel/expose_data/expose_horizons.h b/tudatpy/kernel/expose_data/expose_horizons.h index 016c3a86..dbfa927b 100644 --- a/tudatpy/kernel/expose_data/expose_horizons.h +++ b/tudatpy/kernel/expose_data/expose_horizons.h @@ -16,13 +16,13 @@ namespace py = pybind11; namespace tudatpy { -namespace data { -namespace horizons { + namespace data { + namespace horizons { -void expose_horizons(py::module &m); + void expose_horizons(py::module &m); -} -} -} + } + } // namespace data +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_HORIZONS_H +#endif // TUDATPY_EXPOSE_HORIZONS_H diff --git a/tudatpy/kernel/expose_data/expose_mission_data_downloader.h b/tudatpy/kernel/expose_data/expose_mission_data_downloader.h index 6ac74cf0..eff9707a 100644 --- a/tudatpy/kernel/expose_data/expose_mission_data_downloader.h +++ b/tudatpy/kernel/expose_data/expose_mission_data_downloader.h @@ -1,5 +1,5 @@ /* Copyright (c) 2010-2018, Delft University of Technology -* All rights reserved + * All rights reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively @@ -16,13 +16,13 @@ namespace py = pybind11; namespace tudatpy { -namespace data { -namespace mission_data_downloader { + namespace data { + namespace mission_data_downloader { -void expose_mission_data_downloader(py::module &m); + void expose_mission_data_downloader(py::module &m); -} -} -} + } + } // namespace data +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_MISSION_DATA_DOWNLOADER_H +#endif // TUDATPY_EXPOSE_MISSION_DATA_DOWNLOADER_H diff --git a/tudatpy/kernel/expose_data/expose_mpc.h b/tudatpy/kernel/expose_data/expose_mpc.h index 3adf91d2..96f6d89c 100644 --- a/tudatpy/kernel/expose_data/expose_mpc.h +++ b/tudatpy/kernel/expose_data/expose_mpc.h @@ -16,13 +16,13 @@ namespace py = pybind11; namespace tudatpy { -namespace data { -namespace mpc { + namespace data { + namespace mpc { -void expose_mpc(py::module &m); + void expose_mpc(py::module &m); -} -} -} + } + } // namespace data +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_MPC_H +#endif // TUDATPY_EXPOSE_MPC_H diff --git a/tudatpy/kernel/expose_data/expose_sbdb.h b/tudatpy/kernel/expose_data/expose_sbdb.h index 53536162..d17a6fbd 100644 --- a/tudatpy/kernel/expose_data/expose_sbdb.h +++ b/tudatpy/kernel/expose_data/expose_sbdb.h @@ -16,13 +16,13 @@ namespace py = pybind11; namespace tudatpy { -namespace data { -namespace sbdb { + namespace data { + namespace sbdb { -void expose_sbdb(py::module &m); + void expose_sbdb(py::module &m); -} -} -} + } + } // namespace data +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_SBDB_H +#endif // TUDATPY_EXPOSE_SBDB_H diff --git a/tudatpy/kernel/expose_example.h b/tudatpy/kernel/expose_example.h index 361b76d2..185d6308 100644 --- a/tudatpy/kernel/expose_example.h +++ b/tudatpy/kernel/expose_example.h @@ -13,11 +13,11 @@ // //#include // -//namespace py = pybind11; +// namespace py = pybind11; // -//namespace tudatpy { +// namespace tudatpy { // -//void expose_example(py::module &m); +// void expose_example(py::module &m); // //}; // diff --git a/tudatpy/kernel/expose_interface.h b/tudatpy/kernel/expose_interface.h index ce33727f..7cc45971 100644 --- a/tudatpy/kernel/expose_interface.h +++ b/tudatpy/kernel/expose_interface.h @@ -16,9 +16,9 @@ namespace py = pybind11; namespace tudatpy { -namespace interface { - void expose_interface(py::module &m); -}// namespace interface -}// namespace tudatpy + namespace interface { + void expose_interface(py::module &m); + } // namespace interface +} // namespace tudatpy -#endif// TUDATPY_EXPOSE_INTERFACE_H +#endif // TUDATPY_EXPOSE_INTERFACE_H diff --git a/tudatpy/kernel/expose_interface/expose_spice.h b/tudatpy/kernel/expose_interface/expose_spice.h index 897034d6..78a6fa62 100644 --- a/tudatpy/kernel/expose_interface/expose_spice.h +++ b/tudatpy/kernel/expose_interface/expose_spice.h @@ -16,13 +16,13 @@ namespace py = pybind11; namespace tudatpy { -namespace interface { -namespace spice { + namespace interface { + namespace spice { -void expose_spice(py::module &m); + void expose_spice(py::module &m); -} -} -} + } + } // namespace interface +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_SPICE_H +#endif // TUDATPY_EXPOSE_SPICE_H diff --git a/tudatpy/kernel/expose_math.h b/tudatpy/kernel/expose_math.h index 87b59f1f..30ea556c 100644 --- a/tudatpy/kernel/expose_math.h +++ b/tudatpy/kernel/expose_math.h @@ -14,11 +14,11 @@ namespace py = pybind11; namespace tudatpy { -namespace math { + namespace math { -void expose_math(py::module &m); + void expose_math(py::module &m); -} -};// namespace tudatpy + } +}; // namespace tudatpy -#endif// TUDATPY_EXPOSE_MATH_H +#endif // TUDATPY_EXPOSE_MATH_H diff --git a/tudatpy/kernel/expose_math/expose_geometry.h b/tudatpy/kernel/expose_math/expose_geometry.h index 5de445f4..4362f2e9 100644 --- a/tudatpy/kernel/expose_math/expose_geometry.h +++ b/tudatpy/kernel/expose_math/expose_geometry.h @@ -19,8 +19,8 @@ namespace py = pybind11; namespace tudatpy { -void expose_geometry(py::module &m); + void expose_geometry(py::module &m); } -#endif//TUDATPY_EXPOSE_GEOMETRY_H +#endif // TUDATPY_EXPOSE_GEOMETRY_H diff --git a/tudatpy/kernel/expose_math/expose_interpolators.h b/tudatpy/kernel/expose_math/expose_interpolators.h index 50948206..7031e806 100644 --- a/tudatpy/kernel/expose_math/expose_interpolators.h +++ b/tudatpy/kernel/expose_math/expose_interpolators.h @@ -18,13 +18,13 @@ namespace py = pybind11; namespace tudatpy { -namespace math { -namespace interpolators { + namespace math { + namespace interpolators { -void expose_interpolators(py::module &m); + void expose_interpolators(py::module &m); -} -} -} + } + } // namespace math +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_INTERPOLATORS_H +#endif // TUDATPY_EXPOSE_INTERPOLATORS_H diff --git a/tudatpy/kernel/expose_math/expose_numerical_integrators.h b/tudatpy/kernel/expose_math/expose_numerical_integrators.h index 2dffddaf..523f2495 100644 --- a/tudatpy/kernel/expose_math/expose_numerical_integrators.h +++ b/tudatpy/kernel/expose_math/expose_numerical_integrators.h @@ -17,8 +17,8 @@ namespace py = pybind11; namespace tudatpy { -void expose_numerical_integrators(py::module &m); + void expose_numerical_integrators(py::module &m); } -#endif//TUDATPY_EXPOSE_NUMERICAL_INTEGRATORS_H +#endif // TUDATPY_EXPOSE_NUMERICAL_INTEGRATORS_H diff --git a/tudatpy/kernel/expose_math/expose_root_finders.h b/tudatpy/kernel/expose_math/expose_root_finders.h index 53f2791c..82683f10 100644 --- a/tudatpy/kernel/expose_math/expose_root_finders.h +++ b/tudatpy/kernel/expose_math/expose_root_finders.h @@ -15,19 +15,16 @@ namespace py = pybind11; -namespace tudatpy -{ -namespace math -{ +namespace tudatpy { + namespace math { -namespace root_finders -{ + namespace root_finders { -void expose_root_finders( py::module &m ); + void expose_root_finders(py::module &m); -} + } -} + } // namespace math -} -#endif//TUDATPY_EXPOSE_ROOT_FINDERS_H +} // namespace tudatpy +#endif // TUDATPY_EXPOSE_ROOT_FINDERS_H diff --git a/tudatpy/kernel/expose_math/expose_statistics.h b/tudatpy/kernel/expose_math/expose_statistics.h index 6c1b6dfb..293ed41c 100644 --- a/tudatpy/kernel/expose_math/expose_statistics.h +++ b/tudatpy/kernel/expose_math/expose_statistics.h @@ -1,12 +1,12 @@ /* Copyright (c) 2010-2018, Delft University of Technology - * All rights reserved - * - * This file is part of the Tudat. Redistribution and use in source and - * binary forms, with or without modification, are permitted exclusively - * under the terms of the Modified BSD license. You should have received - * a copy of the license with this file. If not, please or visit: - * http://tudat.tudelft.nl/LICENSE. - */ + * All rights reserved + * + * This file is part of the Tudat. Redistribution and use in source and + * binary forms, with or without modification, are permitted exclusively + * under the terms of the Modified BSD license. You should have received + * a copy of the license with this file. If not, please or visit: + * http://tudat.tudelft.nl/LICENSE. + */ #ifndef TUDATPY_EXPOSE_STATISTICS_H #define TUDATPY_EXPOSE_STATISTICS_H @@ -23,4 +23,4 @@ namespace tudatpy { } -#endif//TUDATPY_EXPOSE_STATISTICS_H +#endif // TUDATPY_EXPOSE_STATISTICS_H diff --git a/tudatpy/kernel/expose_numerical_simulation.h b/tudatpy/kernel/expose_numerical_simulation.h index 81b92407..d8e0bdbe 100644 --- a/tudatpy/kernel/expose_numerical_simulation.h +++ b/tudatpy/kernel/expose_numerical_simulation.h @@ -11,23 +11,22 @@ #ifndef TUDATPY_EXPOSE_NUMERICAL_SIMULATION_H #define TUDATPY_EXPOSE_NUMERICAL_SIMULATION_H -#include #include #include #include +#include #include #include -#include namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation{ + namespace numerical_simulation { -void expose_numerical_simulation(py::module &m); + void expose_numerical_simulation(py::module &m); -}// namespace numerical_simulation + } // namespace numerical_simulation -}// namespace tudatpy -#endif//TUDATPY_EXPOSE_NUMERICAL_SIMULATION_H +} // namespace tudatpy +#endif // TUDATPY_EXPOSE_NUMERICAL_SIMULATION_H diff --git a/tudatpy/kernel/expose_numerical_simulation/deprecation_support.h b/tudatpy/kernel/expose_numerical_simulation/deprecation_support.h index e98c307d..f73b2125 100644 --- a/tudatpy/kernel/expose_numerical_simulation/deprecation_support.h +++ b/tudatpy/kernel/expose_numerical_simulation/deprecation_support.h @@ -12,20 +12,20 @@ #define TUDATPY_DEPRECATION_SUPPORT_H -//namespace tudat +// namespace tudat //{ -//namespace simulation_setup +// namespace simulation_setup //{ -//enum ThrustFrames +// enum ThrustFrames //{ -// unspecified_thrust_frame = -1, -// inertial_thrust_frame = 0, -// tnw_thrust_frame = 1 -//}; +// unspecified_thrust_frame = -1, +// inertial_thrust_frame = 0, +// tnw_thrust_frame = 1 +// }; //} //} -#endif// TUDATPY_DEPRECATION_SUPPORT_H +#endif // TUDATPY_DEPRECATION_SUPPORT_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment.h index 8cefe1a9..ff18325d 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment.h @@ -21,15 +21,14 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment{ + namespace numerical_simulation { + namespace environment { -void expose_environment(py::module &m); + void expose_environment(py::module &m); -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace environment + } // namespace numerical_simulation +} // namespace tudatpy - -#endif// TUDATPY_EXPOSE_ENVIRONMENT_H +#endif // TUDATPY_EXPOSE_ENVIRONMENT_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup.h index fe1a0d59..21db8af5 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup.h @@ -18,13 +18,13 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { + namespace numerical_simulation { + namespace environment_setup { - void expose_environment_setup(py::module &m); + void expose_environment_setup(py::module &m); -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif// TUDATPY_EXPOSE_ENVIRONMENT_SETUP_H +#endif // TUDATPY_EXPOSE_ENVIRONMENT_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_aerodynamic_coefficient_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_aerodynamic_coefficient_setup.h index 682d5680..838304f6 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_aerodynamic_coefficient_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_aerodynamic_coefficient_setup.h @@ -15,15 +15,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace aerodynamic_coefficients { + namespace numerical_simulation { + namespace environment_setup { + namespace aerodynamic_coefficients { - void expose_aerodynamic_coefficient_setup(py::module &m); + void expose_aerodynamic_coefficient_setup(py::module &m); -}// namespace aerodynamic_coefficients -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace aerodynamic_coefficients + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_AERODYNAMIC_COEFFICIENT_SETUP_H +#endif // TUDATPY_EXPOSE_AERODYNAMIC_COEFFICIENT_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_atmosphere_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_atmosphere_setup.h index 2db38b63..fac11542 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_atmosphere_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_atmosphere_setup.h @@ -16,16 +16,16 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace atmosphere { + namespace numerical_simulation { + namespace environment_setup { + namespace atmosphere { - void expose_atmosphere_setup(py::module &m); + void expose_atmosphere_setup(py::module &m); -}// namespace atmosphere -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace atmosphere + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_ATMOSPHERE_SETUP_H +#endif // TUDATPY_EXPOSE_ATMOSPHERE_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_ephemeris_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_ephemeris_setup.h index b92c7213..8f300f85 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_ephemeris_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_ephemeris_setup.h @@ -16,16 +16,16 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace ephemeris { + namespace numerical_simulation { + namespace environment_setup { + namespace ephemeris { - void expose_ephemeris_setup(py::module &m); + void expose_ephemeris_setup(py::module &m); -}// namespace ephemeris -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace ephemeris + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_EPHEMERIS_SETUP_H +#endif // TUDATPY_EXPOSE_EPHEMERIS_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_gravity_field_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_gravity_field_setup.h index eb595157..9c5476bc 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_gravity_field_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_gravity_field_setup.h @@ -16,15 +16,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace gravity_field { + namespace numerical_simulation { + namespace environment_setup { + namespace gravity_field { - void expose_gravity_field_setup(py::module &m); + void expose_gravity_field_setup(py::module &m); -}// namespace gravity_field -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace gravity_field + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_GRAVITY_FIELD_SETUP_H +#endif // TUDATPY_EXPOSE_GRAVITY_FIELD_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_gravity_field_variation_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_gravity_field_variation_setup.h index 515efeed..b99b6a2f 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_gravity_field_variation_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_gravity_field_variation_setup.h @@ -16,15 +16,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace gravity_field_variation { + namespace numerical_simulation { + namespace environment_setup { + namespace gravity_field_variation { - void expose_gravity_field_variation_setup(py::module &m); + void expose_gravity_field_variation_setup(py::module &m); -}// namespace gravity_field_variation -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace gravity_field_variation + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_GRAVITY_FIELD_VARIATION_SETUP_H +#endif // TUDATPY_EXPOSE_GRAVITY_FIELD_VARIATION_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_ground_station_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_ground_station_setup.h index cd0e0ac4..190e67a4 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_ground_station_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_ground_station_setup.h @@ -11,26 +11,24 @@ #ifndef TUDATPY_EXPOSE_GROUND_STATION_SETUP_H #define TUDATPY_EXPOSE_GROUND_STATION_SETUP_H +#include #include #include #include #include -#include namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace ground_station { - - void expose_ground_station_setup(py::module &m); - -}// namespace ground_station -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + namespace numerical_simulation { + namespace environment_setup { + namespace ground_station { -#endif //TUDATPY_EXPOSE_GROUND_STATION_SETUP_H + void expose_ground_station_setup(py::module &m); + } // namespace ground_station + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy +#endif // TUDATPY_EXPOSE_GROUND_STATION_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_radiation_pressure_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_radiation_pressure_setup.h index acfdf1c0..2ad57bc6 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_radiation_pressure_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_radiation_pressure_setup.h @@ -16,15 +16,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace radiation_pressure { + namespace numerical_simulation { + namespace environment_setup { + namespace radiation_pressure { - void expose_radiation_pressure_setup(py::module &m); + void expose_radiation_pressure_setup(py::module &m); -}// namespace radiation_pressure -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace radiation_pressure + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_RADIATION_PRESSURE_SETUP_H +#endif // TUDATPY_EXPOSE_RADIATION_PRESSURE_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_rigid_body_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_rigid_body_setup.h index c8003664..5d326019 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_rigid_body_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_rigid_body_setup.h @@ -16,15 +16,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace rigid_body { + namespace numerical_simulation { + namespace environment_setup { + namespace rigid_body { - void expose_rigid_body_setup(py::module &m); + void expose_rigid_body_setup(py::module &m); -}// namespace rigid_body -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace rigid_body + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_RIGID_BODY_SETUP_H +#endif // TUDATPY_EXPOSE_RIGID_BODY_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_rotation_model_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_rotation_model_setup.h index ccdccf52..2340c97b 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_rotation_model_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_rotation_model_setup.h @@ -16,15 +16,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace rotation_model { + namespace numerical_simulation { + namespace environment_setup { + namespace rotation_model { - void expose_rotation_model_setup(py::module &m); + void expose_rotation_model_setup(py::module &m); -}// namespace rotation_model -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace rotation_model + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_ROTATION_MODEL_SETUP_H +#endif // TUDATPY_EXPOSE_ROTATION_MODEL_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_shape_deformation_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_shape_deformation_setup.h index ebeed3cb..649a95e3 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_shape_deformation_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_shape_deformation_setup.h @@ -11,26 +11,24 @@ #ifndef TUDATPY_EXPOSE_SHAPE_DEFORMATION_SETUP_H #define TUDATPY_EXPOSE_SHAPE_DEFORMATION_SETUP_H +#include #include #include #include #include -#include namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace shape_deformation { - - void expose_shape_deformation_setup(py::module &m); - -}// namespace shape_deformation -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + namespace numerical_simulation { + namespace environment_setup { + namespace shape_deformation { -#endif //TUDATPY_EXPOSE_SHAPE_DEFORMATION_SETUP_H + void expose_shape_deformation_setup(py::module &m); + } // namespace shape_deformation + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy +#endif // TUDATPY_EXPOSE_SHAPE_DEFORMATION_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_shape_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_shape_setup.h index 1ef9e41c..14532dd9 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_shape_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_shape_setup.h @@ -16,15 +16,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace shape { + namespace numerical_simulation { + namespace environment_setup { + namespace shape { - void expose_shape_setup(py::module &m); + void expose_shape_setup(py::module &m); -}// namespace shape -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace shape + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_SHAPE_SETUP_H +#endif // TUDATPY_EXPOSE_SHAPE_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_vehicle_systems_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_vehicle_systems_setup.h index a4c375f3..11bba079 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_vehicle_systems_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_environment_setup/expose_vehicle_systems_setup.h @@ -16,15 +16,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace environment_setup { -namespace vehicle_systems { + namespace numerical_simulation { + namespace environment_setup { + namespace vehicle_systems { - void expose_vehicle_systems_setup(py::module &m); + void expose_vehicle_systems_setup(py::module &m); -}// namespace vehicle_systems -}// namespace environment_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace vehicle_systems + } // namespace environment_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_VEHICLE_SYSTEMS_SETUP_H +#endif // TUDATPY_EXPOSE_VEHICLE_SYSTEMS_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_estimation.h b/tudatpy/kernel/expose_numerical_simulation/expose_estimation.h index 518f4ca3..37521fc4 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_estimation.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_estimation.h @@ -11,24 +11,24 @@ #ifndef TUDATPY_EXPOSE_ESTIMATION_H #define TUDATPY_EXPOSE_ESTIMATION_H -#include -#include #include -#include #include +#include +#include +#include #include "tudat/simulation/estimation_setup.h" namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace estimation { + namespace numerical_simulation { + namespace estimation { -void expose_estimation(py::module &m); + void expose_estimation(py::module &m); -}// namespace estimation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace estimation + } // namespace numerical_simulation +} // namespace tudatpy -#endif // TUDATPY_EXPOSE_ESTIMATION_H +#endif // TUDATPY_EXPOSE_ESTIMATION_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup.h index 9f341b90..d0625419 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup.h @@ -11,24 +11,24 @@ #ifndef TUDATPY_EXPOSE_ESTIMATION_SETUP_H #define TUDATPY_EXPOSE_ESTIMATION_SETUP_H -#include -#include #include -#include #include +#include +#include +#include #include "tudat/simulation/estimation_setup.h" namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace estimation_setup { + namespace numerical_simulation { + namespace estimation_setup { - void expose_estimation_setup(py::module &m); + void expose_estimation_setup(py::module &m); -}// namespace estimation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace estimation_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif // TUDATPY_EXPOSE_ESTIMATION_SETUP_H +#endif // TUDATPY_EXPOSE_ESTIMATION_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_estimated_parameter_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_estimated_parameter_setup.h index 5e9397f5..5f3d9814 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_estimated_parameter_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_estimated_parameter_setup.h @@ -20,16 +20,16 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace estimation_setup { -namespace parameter { + namespace numerical_simulation { + namespace estimation_setup { + namespace parameter { -void expose_estimated_parameter_setup(py::module &m); + void expose_estimated_parameter_setup(py::module &m); -}// namespace acceleration -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace parameter + } // namespace estimation_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_ESTIMATED_PARAMETER_SETUP_H +#endif // TUDATPY_EXPOSE_ESTIMATED_PARAMETER_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_observation_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_observation_setup.h index b0a85ee0..e924bb56 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_observation_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_estimation_setup/expose_observation_setup.h @@ -20,16 +20,16 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace estimation_setup { -namespace observation { + namespace numerical_simulation { + namespace estimation_setup { + namespace observation { -void expose_observation_setup(py::module &m); + void expose_observation_setup(py::module &m); -}// namespace observation -}// namespace estimation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace observation + } // namespace estimation_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_OBSERVATIONS_SETUP_H +#endif // TUDATPY_EXPOSE_OBSERVATIONS_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_propagation.h b/tudatpy/kernel/expose_numerical_simulation/expose_propagation.h index 24a53e56..814525ba 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_propagation.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_propagation.h @@ -11,26 +11,24 @@ #ifndef TUDATPY_EXPOSE_PROPAGATION_H #define TUDATPY_EXPOSE_PROPAGATION_H -#include #include #include #include +#include #include #include -#include namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace propagation{ - -void expose_propagation(py::module &m); + namespace numerical_simulation { + namespace propagation { -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + void expose_propagation(py::module &m); + } // namespace propagation + } // namespace numerical_simulation +} // namespace tudatpy -#endif// TUDATPY_EXPOSE_PROPAGATION_H +#endif // TUDATPY_EXPOSE_PROPAGATION_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup.h index df70478f..902ce680 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup.h @@ -22,15 +22,14 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace propagation_setup { + namespace numerical_simulation { + namespace propagation_setup { - void expose_propagation_setup(py::module &m); + void expose_propagation_setup(py::module &m); -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace propagation_setup + } // namespace numerical_simulation +} // namespace tudatpy - -#endif// TUDATPY_EXPOSE_PROPAGATION_SETUP_H +#endif // TUDATPY_EXPOSE_PROPAGATION_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_acceleration_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_acceleration_setup.h index a240765b..3e3559bd 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_acceleration_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_acceleration_setup.h @@ -17,7 +17,6 @@ #include #include - #include "tudat/simulation/propagation_setup/accelerationSettings.h" #include "tudat/simulation/propagation_setup/createAccelerationModels.h" #include "tudat/simulation/propagation_setup/createEnvironmentUpdater.h" @@ -36,34 +35,31 @@ namespace py = pybind11; -//Deprecated -namespace tudat -{ +// Deprecated +namespace tudat { -namespace simulation_setup -{ -enum ThrustFrames -{ - unspecified_thrust_frame = -1, - inertial_thrust_frame = 0, - tnw_thrust_frame = 1 -}; + namespace simulation_setup { + enum ThrustFrames { + unspecified_thrust_frame = -1, + inertial_thrust_frame = 0, + tnw_thrust_frame = 1 + }; -} + } -} +} // namespace tudat namespace tudatpy { -namespace numerical_simulation { -namespace propagation_setup { -namespace acceleration { + namespace numerical_simulation { + namespace propagation_setup { + namespace acceleration { - void expose_acceleration_setup(py::module &m); + void expose_acceleration_setup(py::module &m); -}// namespace acceleration -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace acceleration + } // namespace propagation_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_ACCELERATION_SETUP_H +#endif // TUDATPY_EXPOSE_ACCELERATION_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_dependent_variable_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_dependent_variable_setup.h index da32c975..2267ea07 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_dependent_variable_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_dependent_variable_setup.h @@ -36,15 +36,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace propagation_setup { -namespace dependent_variable { + namespace numerical_simulation { + namespace propagation_setup { + namespace dependent_variable { - void expose_dependent_variable_setup(py::module &m); + void expose_dependent_variable_setup(py::module &m); -}// namespace dependent_variable -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace dependent_variable + } // namespace propagation_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_DEPENDENT_VARIABLE_SETUP_H +#endif // TUDATPY_EXPOSE_DEPENDENT_VARIABLE_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_integrator_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_integrator_setup.h index 0dd24880..f3a59d34 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_integrator_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_integrator_setup.h @@ -36,15 +36,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace propagation_setup { -namespace integrator { + namespace numerical_simulation { + namespace propagation_setup { + namespace integrator { - void expose_integrator_setup(py::module &m); + void expose_integrator_setup(py::module &m); -}// namespace integrator -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace integrator + } // namespace propagation_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_INTEGRATOR_SETUP_H +#endif // TUDATPY_EXPOSE_INTEGRATOR_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_mass_rate_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_mass_rate_setup.h index 52cdb987..ec66a6e6 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_mass_rate_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_mass_rate_setup.h @@ -17,7 +17,6 @@ #include #include - #include "tudat/simulation/propagation_setup/accelerationSettings.h" #include "tudat/simulation/propagation_setup/createAccelerationModels.h" #include "tudat/simulation/propagation_setup/createEnvironmentUpdater.h" @@ -36,15 +35,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace propagation_setup { -namespace mass_rate { + namespace numerical_simulation { + namespace propagation_setup { + namespace mass_rate { - void expose_mass_rate_setup(py::module &m); + void expose_mass_rate_setup(py::module &m); -}// namespace mass -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace mass_rate + } // namespace propagation_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_MASS_RATE_SETUP_H +#endif // TUDATPY_EXPOSE_MASS_RATE_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_propagator_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_propagator_setup.h index aac13861..3270f0e7 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_propagator_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_propagator_setup.h @@ -37,15 +37,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace propagation_setup { -namespace propagator { + namespace numerical_simulation { + namespace propagation_setup { + namespace propagator { - void expose_propagator_setup(py::module &m); + void expose_propagator_setup(py::module &m); -}// namespace propagator -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace propagator + } // namespace propagation_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_PROPAGATOR_SETUP_H +#endif // TUDATPY_EXPOSE_PROPAGATOR_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_thrust_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_thrust_setup.h index ff9abd1d..76397c54 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_thrust_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_thrust_setup.h @@ -17,7 +17,6 @@ #include #include - #include "tudat/simulation/propagation_setup/accelerationSettings.h" #include "tudat/simulation/propagation_setup/createAccelerationModels.h" #include "tudat/simulation/propagation_setup/createEnvironmentUpdater.h" @@ -37,16 +36,16 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace propagation_setup { -namespace thrust { + namespace numerical_simulation { + namespace propagation_setup { + namespace thrust { - void expose_thrust_setup(py::module &m); + void expose_thrust_setup(py::module &m); -}// namespace thrust -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace thrust + } // namespace propagation_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_THRUST_SETUP_H +#endif // TUDATPY_EXPOSE_THRUST_SETUP_H diff --git a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_torque_setup.h b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_torque_setup.h index cf6e4dc8..e1028d56 100644 --- a/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_torque_setup.h +++ b/tudatpy/kernel/expose_numerical_simulation/expose_propagation_setup/expose_torque_setup.h @@ -11,7 +11,6 @@ #include #include - #include "tudat/simulation/propagation_setup/accelerationSettings.h" #include "tudat/simulation/propagation_setup/createAccelerationModels.h" #include "tudat/simulation/propagation_setup/createEnvironmentUpdater.h" @@ -31,15 +30,15 @@ namespace py = pybind11; namespace tudatpy { -namespace numerical_simulation { -namespace propagation_setup { -namespace torque { + namespace numerical_simulation { + namespace propagation_setup { + namespace torque { - void expose_torque_setup(py::module &m); + void expose_torque_setup(py::module &m); -}// namespace torque -}// namespace propagation_setup -}// namespace numerical_simulation -}// namespace tudatpy + } // namespace torque + } // namespace propagation_setup + } // namespace numerical_simulation +} // namespace tudatpy -#endif //TUDATPY_EXPOSE_TORQUE_SETUP_H +#endif // TUDATPY_EXPOSE_TORQUE_SETUP_H diff --git a/tudatpy/kernel/expose_trajectory_design.h b/tudatpy/kernel/expose_trajectory_design.h index 2bbf8855..f4d2b2b8 100644 --- a/tudatpy/kernel/expose_trajectory_design.h +++ b/tudatpy/kernel/expose_trajectory_design.h @@ -16,9 +16,9 @@ namespace py = pybind11; namespace tudatpy { -namespace trajectory_design{ -void expose_trajectory_design(py::module &m); -} -}// namespace tudatpy + namespace trajectory_design { + void expose_trajectory_design(py::module &m); + } +} // namespace tudatpy -#endif// TUDATPY_EXPOSE_TRAJECTORY_DESIGN_H +#endif // TUDATPY_EXPOSE_TRAJECTORY_DESIGN_H diff --git a/tudatpy/kernel/expose_trajectory_design/expose_shape_based_thrust.h b/tudatpy/kernel/expose_trajectory_design/expose_shape_based_thrust.h index 63d11863..61344074 100644 --- a/tudatpy/kernel/expose_trajectory_design/expose_shape_based_thrust.h +++ b/tudatpy/kernel/expose_trajectory_design/expose_shape_based_thrust.h @@ -16,13 +16,13 @@ namespace py = pybind11; namespace tudatpy { -namespace trajectory_design { -namespace shape_based_thrust { + namespace trajectory_design { + namespace shape_based_thrust { -void expose_shape_based_thrust(py::module &m); + void expose_shape_based_thrust(py::module &m); -}// namespace shape_based_thrust -}// namespace trajectory_design -}// namespace tudatpy + } // namespace shape_based_thrust + } // namespace trajectory_design +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_SHAPE_BASED_THRUST_H +#endif // TUDATPY_EXPOSE_SHAPE_BASED_THRUST_H diff --git a/tudatpy/kernel/expose_trajectory_design/expose_transfer_trajectory.h b/tudatpy/kernel/expose_trajectory_design/expose_transfer_trajectory.h index bab2aa37..d591f06d 100644 --- a/tudatpy/kernel/expose_trajectory_design/expose_transfer_trajectory.h +++ b/tudatpy/kernel/expose_trajectory_design/expose_transfer_trajectory.h @@ -20,13 +20,13 @@ namespace py = pybind11; namespace tudatpy { -namespace trajectory_design { -namespace transfer_trajectory { + namespace trajectory_design { + namespace transfer_trajectory { - void expose_transfer_trajectory(py::module &m); + void expose_transfer_trajectory(py::module &m); -} // namespace transfer_trajectory -} // namespace trajectory_design -} // namespace tudatpy + } // namespace transfer_trajectory + } // namespace trajectory_design +} // namespace tudatpy -#endif// TUDATPY_EXPOSE_TRANSFER_TRAJECTORY_H +#endif // TUDATPY_EXPOSE_TRANSFER_TRAJECTORY_H diff --git a/tudatpy/kernel/expose_unit_tests.h b/tudatpy/kernel/expose_unit_tests.h index 60408db2..7a69c535 100644 --- a/tudatpy/kernel/expose_unit_tests.h +++ b/tudatpy/kernel/expose_unit_tests.h @@ -6,12 +6,13 @@ //#define TUDATPY_EXPOSE_UNIT_TESTS_H // //#include -////#include "Tudat/Astrodynamics/Aerodynamics/UnitTests/testApolloCapsuleCoefficients.h" +////#include +///"Tudat/Astrodynamics/Aerodynamics/UnitTests/testApolloCapsuleCoefficients.h" //#include "tudat/astro/aerodynamics/hypersonicLocalInclinationAnalysis.h" // -//namespace py = pybind11; +// namespace py = pybind11; // -//namespace tudatpy { +// namespace tudatpy { // void expose_unit_tests(py::module &m); // //} diff --git a/tudatpy/kernel/expose_utils.h b/tudatpy/kernel/expose_utils.h index 13336cdb..b8e0222b 100644 --- a/tudatpy/kernel/expose_utils.h +++ b/tudatpy/kernel/expose_utils.h @@ -17,11 +17,11 @@ namespace py = pybind11; namespace tudatpy { -namespace utils { + namespace utils { - void expose_utils(py::module &m); + void expose_utils(py::module &m); -} // namespace utils -} // namespace tudatpy + } // namespace utils +} // namespace tudatpy -#endif//TUDATPY_EXPOSE_FUNDAMENTALS_H \ No newline at end of file +#endif // TUDATPY_EXPOSE_FUNDAMENTALS_H \ No newline at end of file diff --git a/tudatpy/kernel/expose_utils/expose_data.h b/tudatpy/kernel/expose_utils/expose_data.h index 298794ff..db7ada39 100644 --- a/tudatpy/kernel/expose_utils/expose_data.h +++ b/tudatpy/kernel/expose_utils/expose_data.h @@ -16,13 +16,13 @@ namespace py = pybind11; namespace tudatpy { -namespace utils { -namespace data { + namespace utils { + namespace data { -void expose_data(py::module &m); + void expose_data(py::module &m); -} // namespace data -} // namespace utils -} // namespace tudatpy + } // namespace data + } // namespace utils +} // namespace tudatpy -#endif // TUDATPY_EXPOSE_DATA_H +#endif // TUDATPY_EXPOSE_DATA_H diff --git a/tudatpy/temp/cli/templates/cpp_class.h b/tudatpy/temp/cli/templates/cpp_class.h index a7ce0a72..16d3bf75 100644 --- a/tudatpy/temp/cli/templates/cpp_class.h +++ b/tudatpy/temp/cli/templates/cpp_class.h @@ -8,10 +8,13 @@ * http://tudat.tudelft.nl/LICENSE. */ -#ifndef {{ name | upper }}_H; -#define {{ name | upper }}_H; +#ifndef{{name | upper } } _H; +#define{{name | upper } } _H; -class {{ name }} { -}; +class { + { + name + } +} {}; -#endif//{{ name | upper }}_H; +#endif //{{ name | upper }}_H; diff --git a/tudatpy/temp/cli/templates/cpp_header.h b/tudatpy/temp/cli/templates/cpp_header.h index 2a0b8225..124f5574 100644 --- a/tudatpy/temp/cli/templates/cpp_header.h +++ b/tudatpy/temp/cli/templates/cpp_header.h @@ -8,7 +8,7 @@ * http://tudat.tudelft.nl/LICENSE. */ -#ifndef {{ name | upper }}_H; -#define {{ name | upper }}_H; +#ifndef{{name | upper } } _H; +#define{{name | upper } } _H; -#endif//{{ name | upper }}_H; +#endif //{{ name | upper }}_H; diff --git a/tudatpy/temp/cli/templates/pybind_submodule.h b/tudatpy/temp/cli/templates/pybind_submodule.h index 54b6ad22..62f15ea3 100644 --- a/tudatpy/temp/cli/templates/pybind_submodule.h +++ b/tudatpy/temp/cli/templates/pybind_submodule.h @@ -8,17 +8,18 @@ * http://tudat.tudelft.nl/LICENSE. */ -#ifndef {{ module_name | upper }}_H -#define {{ module_name | upper }}_H - -#include +#ifndef{{module_name | upper } } _H +#define{{module_name | upper } } _H #include -namespace {{ project_name }} { - -void expose_{{ module_name | lower }}(py::module &m); +#include -} +namespace { + { + project_name + } +} // namespace +{ void expose_{{module_name | lower}}(py::module & m); } -#endif//{{ module_name | upper }}_H +#endif //{{ module_name | upper }}_H