Skip to content

Commit

Permalink
Exposed radiation pressure target model
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicDirkx committed Jan 31, 2025
1 parent 1df8710 commit 5bc705a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tudatpy/kernel/expose_numerical_simulation/expose_environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ namespace tss = tudat::simulation_setup;
namespace ti = tudat::interpolators;
namespace tsm = tudat::system_models;
namespace tom = tudat::observation_models;
namespace tem = tudat::electromagnetism;


namespace tudat {
Expand Down Expand Up @@ -2325,6 +2326,19 @@ numpy.ndarray[numpy.float64[6, 1]]
std::shared_ptr<tg::GravityFieldVariations>>(
m, "GravityFieldVariationModel");

/*!
************** RADIATION MODELS ******************
*/
py::class_<tem::RadiationPressureTargetModel,
std::shared_ptr< tem::RadiationPressureTargetModel > >(
m, "RadiationPressureTargetModel" );

py::class_<tem::CannonballRadiationPressureTargetModel,
std::shared_ptr<tem::CannonballRadiationPressureTargetModel>,
tem::RadiationPressureTargetModel>(m, "CannonballRadiationPressureTargetModel")
.def_property( "radiation_pressure_coefficient",
&tem::CannonballRadiationPressureTargetModel::getCoefficient,
&tem::CannonballRadiationPressureTargetModel::resetCoefficient );
/*!
************** SHAPE MODELS ******************
*/
Expand Down Expand Up @@ -2907,6 +2921,8 @@ numpy.ndarray[numpy.float64[6, 1]]
:type: RigidBodyProperties
)doc")
.def_property("radiation_pressure_source_models", &tss::Body::getRadiationPressureTargetModels,
&tss::Body::setRadiationPressureTargetModels )
.def_property_readonly(
"gravitational_parameter",
&tss::Body::getGravitationalParameter, R"doc(
Expand Down

0 comments on commit 5bc705a

Please sign in to comment.