SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
dimensions.hpp File Reference

File containing prue dimensions. Note that this is not intended to be (nor does it have the capability to be) a general dimensional analysis library. There is no understanding here that, for example, a dimension of length^2 is an area. Rather, the purpose of this is to force developers to be explicit about what values they are passing to what functions. Further, most of this system is built to be compile time constant. This means that the compiler can still apply many optimizations. Note that the dimensions here do not contain a value, rather these are just the concept of a dimension. To store a value you must use a Quantity and QuantityValue. More...

#include <string_view>
#include "serif/dimensions/quantities.hpp"
Include dependency graph for dimensions.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  serif::dimensions::Dimensionless
 Non dimensional type. More...
 
struct  serif::dimensions::Mass
 Dimension of mass. More...
 
struct  serif::dimensions::Length
 Dimension of Length. More...
 
struct  serif::dimensions::Time
 Dimension of Time. More...
 
struct  serif::dimensions::InverseTimeSquared
 Inverse time squared, the physical dimension of a Poisson residual. More...
 
struct  serif::dimensions::MassDensityRate
 Mass density divided by time,. More...
 
struct  serif::dimensions::ForceDensity
 Force per unit volume. More...
 
struct  serif::dimensions::PressureLaplacian
 Pressure divided by length squared. More...
 
struct  serif::dimensions::GravitationalConstant
 Newton's gravitational constant, expressed in the selected system of units. More...
 
struct  serif::dimensions::Area
 Dimension of Area. More...
 
struct  serif::dimensions::Volume
 Dimension of Volume. More...
 
struct  serif::dimensions::MassDensity
 Dimension of Mass Density. More...
 
struct  serif::dimensions::NumberDensity
 Dimension of Number Density. More...
 
struct  serif::dimensions::Pressure
 Dimension of Pressure. More...
 
struct  serif::dimensions::Temperature
 Dimension of Temperature. More...
 
struct  serif::dimensions::Entropy
 Dimension of Entropy. More...
 
struct  serif::dimensions::SpecificEntropy
 Dimension of Specific Entropy. More...
 
struct  serif::dimensions::ChemicalPotential
 Dimension of Chemical Potential. More...
 
struct  serif::dimensions::Energy
 Dimension of Energy. More...
 
struct  serif::dimensions::InternalEnergy
 Dimension of Internal Energy. More...
 
struct  serif::dimensions::SpecificEnergy
 Dimension of Specific Energy. More...
 
struct  serif::dimensions::SpecificInternalEnergy
 Dimension of Specific Internal Energy. More...
 
struct  serif::dimensions::SpecificEnthalpy
 Dimension of Specific Enthalpy. More...
 
struct  serif::dimensions::BarotropicPressurePotential
 The barotropic pressure primitive A with dA/density = (dP/density)/density. More...
 
struct  serif::dimensions::EnergyDensity
 Dimension of Energy Density. More...
 
struct  serif::dimensions::GravitationalPotential
 Dimension of Gravitational Potential. More...
 
struct  serif::dimensions::Velocity
 Dimension of Velocity. More...
 
struct  serif::dimensions::Acceleration
 Dimension of Acceleration. More...
 
struct  serif::dimensions::Frequency
 Dimension of Frequency. More...
 
struct  serif::dimensions::AngularVelocity
 Dimension of Angular Velocity. More...
 
struct  serif::dimensions::AngularAcceleration
 Angular acceleration, distinct from angular velocity despite sharing its chosen axis. More...
 
struct  serif::dimensions::Momentum
 Dimension of Momentum. More...
 
struct  serif::dimensions::AngularMomentum
 Dimension of Angular Momentum. More...
 
struct  serif::dimensions::MomentOfInertia
 Dimension of Moment Of Inertia. More...
 
struct  serif::dimensions::Force
 Dimension of Force. More...
 
struct  serif::dimensions::Torque
 Dimension of Torque. More...
 
struct  serif::dimensions::Power
 Dimension of Power. More...
 
struct  serif::dimensions::Luminosity
 Dimension of Luminosity. More...
 
struct  serif::dimensions::MassFlowRate
 Dimension of Mass Flow Rate. More...
 
struct  serif::dimensions::Opacity
 Dimension of Opacity. More...
 
struct  serif::dimensions::DynamicViscosity
 Dimension of Dynamic Viscosity. More...
 
struct  serif::dimensions::KinematicViscosity
 Dimension of Kinematic Viscosity. More...
 
struct  serif::dimensions::MagneticFluxDensity
 Dimension of Magnetic Flux Density. More...
 

Namespaces

namespace  serif
 
namespace  serif::dimensions
 

Detailed Description

File containing prue dimensions. Note that this is not intended to be (nor does it have the capability to be) a general dimensional analysis library. There is no understanding here that, for example, a dimension of length^2 is an area. Rather, the purpose of this is to force developers to be explicit about what values they are passing to what functions. Further, most of this system is built to be compile time constant. This means that the compiler can still apply many optimizations. Note that the dimensions here do not contain a value, rather these are just the concept of a dimension. To store a value you must use a Quantity and QuantityValue.

Author
Emily M. Boudreaux