From 67bb9b8e808eede2b4c34acc639f8bd34c334ef4 Mon Sep 17 00:00:00 2001 From: Dominic Dirkx Date: Fri, 18 Oct 2024 08:36:36 +0200 Subject: [PATCH] Added exposure --- .../createAerodynamicCoefficientInterface.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/tudat/simulation/environment_setup/createAerodynamicCoefficientInterface.h b/include/tudat/simulation/environment_setup/createAerodynamicCoefficientInterface.h index e136636c2..5a6a5b14c 100644 --- a/include/tudat/simulation/environment_setup/createAerodynamicCoefficientInterface.h +++ b/include/tudat/simulation/environment_setup/createAerodynamicCoefficientInterface.h @@ -463,6 +463,21 @@ inline std::shared_ptr< AerodynamicCoefficientSettings > constantAerodynamicCoef coefficientsFrame ); } +//! @get_docstring(constantAerodynamicCoefficientSettings) +inline std::shared_ptr< AerodynamicCoefficientSettings > constantAerodynamicForceAndMomentCoefficientSettings( + const double referenceLength, + const double referenceArea, + const Eigen::Vector3d& momentReferencePoint, + const Eigen::Vector3d& constantForceCoefficient, + const Eigen::Vector3d& constantMomentCoefficient = Eigen::Vector3d::Zero( ), + const aerodynamics::AerodynamicCoefficientFrames forceCoefficientsFrame = aerodynamics::negative_aerodynamic_frame_coefficients, + const aerodynamics::AerodynamicCoefficientFrames momentCoefficientsFrame = aerodynamics::body_fixed_frame_coefficients ) +{ + return std::make_shared< ConstantAerodynamicCoefficientSettings >( + referenceLength, referenceArea, momentReferencePoint, constantForceCoefficient, constantMomentCoefficient, + forceCoefficientsFrame, momentCoefficientsFrame ); +} + //! @get_docstring(scaledAerodynamicCoefficientSettings) inline std::shared_ptr< AerodynamicCoefficientSettings > scaledAerodynamicCoefficientSettings( const std::shared_ptr< AerodynamicCoefficientSettings > baseSettings,