This commit is contained in:
Travis Hunter 2023-02-13 13:22:52 -07:00
parent da92f381c6
commit a5c30d8508
5 changed files with 62 additions and 2 deletions

View File

@ -16,7 +16,7 @@ namespace
}
}
namespace Utils
namespace utils
{
CurlConnection::CurlConnection()

View File

@ -5,7 +5,7 @@
#include <curl/curl.h>
#include <vector>
namespace Utils
namespace utils
{
class CurlConnection

View File

@ -0,0 +1,16 @@
#ifndef UTILS_MATH_CONSTANTS_H
#define UTILS_MATH_CONSTANTS_H
namespace utils::math
{
struct Constants
{
static const double Rstar = 8.3144598;
static const double g0 = 9.80665;
static const double airMolarMass = 0.0289644;
static const double standardTemperature = 288.15;
};
} // namespace utils::math
#endif // UTILS_MATH_CONSTANTS_H

View File

@ -0,0 +1,19 @@
#include "USStandardAtmosphere.h"
#include "Utils/math/Constants.h"
namespace sim
{
USStandardAtmosphere::USStandardAtmosphere()
{
}
USStandardAtmosphere::~USStandardAtmosphere()
{
}
} // namespace sim

View File

@ -0,0 +1,25 @@
#ifndef SIM_USSTANDARDATMOSPHERE_H
#define SIM_USSTANDARDATMOSPHERE_H
#include "AtmosphericModel.h"
namespace sim
{
class USStandardAtmosphere : public AtmosphericModel
{
public:
USStandardAtmosphere();
virtual ~USStandardAtmosphere();
double getDensity(double altitude) override;
double getPressure(double altitude) override;
double getTemperature(double altitude) override;
private:
};
} // namespace sim
#endif // SIM_USSTANDARDATMOSPHERE_H