Skip to content

Commit

Permalink
Run clang formatter on c++ code
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsoSR committed Jan 22, 2025
1 parent 3f1cf1d commit ae873a9
Show file tree
Hide file tree
Showing 61 changed files with 458 additions and 473 deletions.
10 changes: 5 additions & 5 deletions tudatpy/kernel/expose_astro.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_astro/expose_element_conversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_astro/expose_frame_conversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_astro/expose_fundamentals.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
#endif // TUDATPY_EXPOSE_FUNDAMENTALS_H
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_astro/expose_gravitation.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_astro/expose_polyhedron_utilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_astro/expose_time_conversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions tudatpy/kernel/expose_astro/expose_two_body_dynamics.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions tudatpy/kernel/expose_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 5 additions & 6 deletions tudatpy/kernel/expose_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,18 @@
#define TUDATPY_EXPOSE_IO_H

#include <pybind11/pybind11.h>

#include <tudat/io/basicInputOutput.h>

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
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_data/expose_horizons.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 8 additions & 8 deletions tudatpy/kernel/expose_data/expose_mission_data_downloader.h
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_data/expose_mpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_data/expose_sbdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions tudatpy/kernel/expose_example.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
//
//#include <pybind11/pybind11.h>
//
//namespace py = pybind11;
// namespace py = pybind11;
//
//namespace tudatpy {
// namespace tudatpy {
//
//void expose_example(py::module &m);
// void expose_example(py::module &m);
//
//};
//
Expand Down
10 changes: 5 additions & 5 deletions tudatpy/kernel/expose_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_interface/expose_spice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions tudatpy/kernel/expose_math.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions tudatpy/kernel/expose_math/expose_geometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions tudatpy/kernel/expose_math/expose_interpolators.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit ae873a9

Please sign in to comment.