feat(dimensions): added second partial type and new dimensions

This commit is contained in:
2026-11-02 10:06:47 -05:00
parent 9a7e4a7112
commit 48bc7d5472
3 changed files with 52 additions and 3 deletions

View File

@@ -64,6 +64,28 @@ namespace serif::dimensions {
static constexpr std::string_view identifier = "inverse_time_squared";
};
/**
* @brief Mass density divided by time,
*/
struct MassDensityRate final : PhysicalQuantity {
static constexpr std::string_view identifier = "mass_density_rate";
};
/**
* @brief Force per unit volume
*/
struct ForceDensity final : PhysicalQuantity {
static constexpr std::string_view identifier = "force_density";
};
/**
* @brief Pressure divided by length squared
*/
struct PressureLaplacian final : PhysicalQuantity
{
static constexpr std::string_view identifier = "pressure_laplacian";
};
/**
* @struct GravitationalConstant
*
@@ -200,6 +222,11 @@ namespace serif::dimensions {
static constexpr std::string_view identifier = "specific_enthalpy";
};
/** @brief The barotropic pressure primitive A with dA/density = (dP/density)/density. */
struct BarotropicPressurePotential final : ThermodynamicQuantity {
static constexpr std::string_view identifier = "barotropic_pressure_potential";
};
/**
* @struct EnergyDensity
*
@@ -254,6 +281,11 @@ namespace serif::dimensions {
static constexpr std::string_view identifier = "angular_velocity";
};
/** @brief Angular acceleration, distinct from angular velocity despite sharing its chosen axis. */
struct AngularAcceleration final : PhysicalQuantity {
static constexpr std::string_view identifier = "angular_acceleration";
};
/**
* @struct Momentum
*
@@ -364,4 +396,4 @@ namespace serif::dimensions {
struct MagneticFluxDensity final : PhysicalQuantity {
static constexpr std::string_view identifier = "magnetic_flux_density";
};
}
}