Skip to content

Commit 1b5c15c

Browse files
Apply clang-format
1 parent 2ae75e0 commit 1b5c15c

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

src/tudatpy/dynamics/environment_setup/expose_environment_setup.cpp

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -970,22 +970,23 @@ void expose_environment_setup( py::module &m )
970970
py::arg( "body" ),
971971
py::arg( "ground_station_settings" ),
972972
R"doc(No documentation found.)doc" );
973-
//
974-
//
975-
// .. code-block:: python
976-
//
977-
//# Create ground station settings
978-
// ground_station_settings = environment_setup.ground_station.basic_station(
979-
// "TrackingStation",
980-
// [station_altitude, delft_latitude, delft_longitude],
981-
// element_conversion.geodetic_position_type)
982-
//
983-
//# Add the ground station to the environment
984-
// environment_setup.add_ground_station(
985-
// bodies.get_body("Earth"),
986-
// ground_station_settings )
987-
988-
m.def( "create_radiation_pressure_interface",
973+
//
974+
//
975+
// .. code-block:: python
976+
//
977+
// # Create ground station settings
978+
// ground_station_settings = environment_setup.ground_station.basic_station(
979+
// "TrackingStation",
980+
// [station_altitude, delft_latitude,
981+
// delft_longitude],
982+
// element_conversion.geodetic_position_type)
983+
//
984+
// # Add the ground station to the environment
985+
// environment_setup.add_ground_station(
986+
// bodies.get_body("Earth"),
987+
// ground_station_settings )
988+
989+
m.def( "create_radiation_pressure_interface",
989990
&tss::createRadiationPressureInterface,
990991
py::arg( "radiationPressureInterfaceSettings" ),
991992
py::arg( "body_name" ),
@@ -1003,7 +1004,6 @@ void expose_environment_setup( py::module &m )
10031004
// auto system_model_setup =
10041005
// m.def_submodule("system_models");
10051006
// gravity_field_variation::expose_system_model_setup(system_model_setup);
1006-
10071007
}
10081008

10091009
} // namespace environment_setup

src/tudatpy/dynamics/environment_setup/ground_station/expose_ground_station.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ void expose_ground_station_setup( py::module& m )
209209

210210
// Convert the std::map to a Python dict
211211
py::dict pythonDict;
212-
for( const auto& entry: stationPositions )
212+
for( const auto& entry : stationPositions )
213213
{
214214
// entry.first is the station name, entry.second is the Eigen::Vector3d
215215
pythonDict[ entry.first.c_str( ) ] = entry.second;

0 commit comments

Comments
 (0)