DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
Loading...
Searching...
No Matches
dimensionality.hpp
Go to the documentation of this file.
1// Copyright (c) 2020-2025 Cody R. Drisko. All rights reserved.
2// Licensed under the MIT License. See the LICENSE file in the project root for more information.
3//
4// Name: dimensionality.hpp
5// Author: crdrisko
6// Date: 09/02/2020-10:58:01
7// Description: A structure holding the SI base units from which all physical quantities can be constructed
8
9#ifndef DRYCHEM_CPP_UNITS_INCLUDE_CPP_UNITS_TYPES_DIMENSIONALITY_HPP
10#define DRYCHEM_CPP_UNITS_INCLUDE_CPP_UNITS_TYPES_DIMENSIONALITY_HPP
11
12namespace CppUnits
13{
25 template<int L = 0, int M = 0, int T = 0, int I = 0, int Th = 0, int N = 0, int J = 0>
27 {
28 static inline constexpr int Length = L;
29 static inline constexpr int Mass = M;
30 static inline constexpr int Time = T;
31 static inline constexpr int ElectricCurrent = I;
32 static inline constexpr int Temperature = Th;
33 static inline constexpr int AmountOfSubstance = N;
34 static inline constexpr int LuminousIntensity = J;
35
37 };
38} // namespace CppUnits
39
40#endif
Definition basicMath.hpp:17
Definition dimensionality.hpp:27
Dimensionality< Length, Mass, Time, ElectricCurrent, Temperature, AmountOfSubstance, LuminousIntensity > Type
Definition dimensionality.hpp:36