Commit Graph
153 Commits
Author SHA1 Message Date
Mateusz Pusz ba1f58af76 refactor: All the macros refactored to have MP_UNITS_ prefix 2023-06-21 18:05:21 +02:00
Mateusz Pusz d9697afd67 feat: non-SI units got their own namespace non_si 2023-06-19 14:02:31 +02:00
Mateusz Pusz 7fc88facd6 feat: arcminute and arcsecond support added 2023-06-19 14:01:36 +02:00
Mateusz Pusz ad7f897600 fix: constexpr evaluation maximum step limit fixed for clang for proton_mass 2023-06-16 16:24:53 +03:00
Mateusz Pusz 52ab3f1535 refactor: SI units do not depend on the entire ISQ anymore + header dependency compilation fixes 2023-06-15 14:37:22 +03:00
Mateusz Pusz f9e1404e02 style: formatting updated to make pre-commit happy 2023-06-08 22:01:40 +02:00
Mateusz Pusz d0684c4644 fix: typographic system now explicitly uses international inch to define point 2023-06-08 21:49:24 +02:00
Mateusz Pusz 9f8973e6f2 refactor: parsec definition refactored 2023-06-08 19:09:20 +02:00
Mateusz Pusz 99aa02a83a feat: IAU system extended with new definitions 2023-06-08 17:37:09 +02:00
Mateusz Pusz 192bf39654 refactor: natural::speed_of_light_in_vacuum renamed to natural::speed_of_light 2023-06-05 19:37:17 +02:00
Mateusz Pusz 7a730fde58 refactor: constant_unit abstraction removed and replaced with regular named_unit 2023-06-05 19:36:22 +02:00
Mateusz Pusz 361ff5c3d1 test: international system tests added 2023-06-05 15:06:06 +02:00
Mateusz Pusz 03b58ee073 refactor: square and cubic are now functions (not variable templates) 2023-06-01 08:45:41 +02:00
Mateusz Pusz b59af895dd fix: CGS definitions fixed 2023-05-27 17:25:43 +02:00
Mateusz Pusz 52bbd00ab4 style: clang-format new rules applied to the code base 2023-05-26 14:20:00 +02:00
Björn Schäpers 814b731696 Work around Windows macro 2023-05-25 13:08:51 +02:00
Mateusz Pusz 7d9ae3ec31 refactor: mp_units subdirectory renamed to mp-units 2023-05-25 12:47:10 +02:00
Mateusz Pusz 002d5b4275 feat: inch_of_mercury support added 2023-05-25 10:34:34 +02:00
Mateusz Pusz 0f7ae6954f refactor: definitions of derived quantities with equations resulting in electric_current fixed 2023-05-22 17:58:04 +02:00
Mateusz Pusz 8ef6d409b2 refactor: character of dynamic_viscosity and magnetic_flux_density set explicitly 2023-05-02 22:00:19 +02:00
Mateusz Pusz 541a554852 feat: is_kind added to some dimensionless quantities definitions 2023-05-02 21:42:54 +02:00
Mateusz Pusz 258a62edcc refactor: quantity hiearchy kinds fixed for some quantity definitions 2023-04-21 15:10:02 +01:00
Mateusz Pusz 565465d284 fix: angular trigonometric functions now can be constrained with QuantityOf<angle> 2023-04-10 19:55:25 +02:00
Mateusz Pusz c807ba31be feat: quecto, ronto, ronna, quetta prefixed versions of unit symbols added 2023-04-08 19:54:31 +02:00
Mateusz Pusz 9f3ea544d5 fix: standard_gravity_unit now prints a correct unicode symbol 2023-03-30 17:49:02 +02:00
Mateusz Pusz f446b4f7a7 feat: standard_gravity now uses acceleration_of_free_fall 2023-02-13 18:56:20 +01:00
Mateusz Pusz 3c2e6d06bb refactor: ISQ system refactored to benefit from the latest changes 2023-02-13 18:55:54 +01:00
Mateusz Pusz 8e6fb7818b fix: isq_angle compilation fixed 2023-02-13 18:39:12 +01:00
Mateusz Pusz f667037216 feat: associated quantities provided for units in various systems 2023-02-13 18:37:27 +01:00
Mateusz Pusz 761919c1be feat: added new SI prefixes based on CGPM 2022 Resolution 3 2023-02-09 11:25:18 -08:00
Mateusz Pusz 6794485b02 refactor: small cleanup of IEC 80000 definitions 2023-02-09 10:02:58 -08:00
Mateusz Pusz 2cf736a1e6 feat: preventing possible future units crash when using namespace std;
Resolves #317
2022-12-29 20:18:48 +01:00
Mateusz Pusz 6b72dd39c1 refactor: headers with system definitions moved to _systems_ subdirectory 2022-12-29 19:27:54 +01:00
Mateusz Pusz c7d7c7d49f refactor: isq_angle refactored after consulting with Paul Quincey 2022-12-29 19:00:15 +01:00
Mateusz Pusz 97da55edfa refactor: the rest of the systems refactored for V2 2022-12-29 18:59:10 +01:00
Mateusz Pusz 05da8b6153 fix: storage_capacity definition fixed 2022-12-27 12:50:47 +01:00
Mateusz Pusz 12e48ea3c0 fix: _quantity.h_ header added to _base_quantities.h_ to make all the definition complete 2022-12-27 12:49:21 +01:00
Mateusz Pusz 016984f1b3 feat: about half of IEC 80000 quantities support added 2022-12-27 12:20:23 +01:00
Mateusz Pusz f430e81202 style: CMake files reformatted to make pre-commit happy 2022-12-27 10:51:29 +01:00
Mateusz Pusz 84c16b27bb refactor: cotes_angle renamed to cotes_angle_constant + cotes_angle constant introduced 2022-12-27 10:49:47 +01:00
Mateusz Pusz eea25c13c7 feat: isq_angle system added 2022-12-27 10:25:31 +01:00
Mateusz Pusz 5914744e5d fix: solid_angular_measure definition fixed 2022-12-27 10:18:37 +01:00
Mateusz Pusz 58949bf22a feat: rad2 unit symbol added 2022-12-27 10:17:58 +01:00
Mateusz Pusz 9e5a95edef feat: deg unit symbol added to SI 2022-12-25 17:33:47 +01:00
Mateusz Pusz 2a3e1f6035 refactor: angular system created 2022-12-25 17:32:29 +01:00
Mateusz Pusz 6028f182d3 feat: magnetic_constant constant added 2022-12-20 12:53:08 +01:00
Mateusz Pusz 25682397bd docs: comment for magnetic_flux_density fixed 2022-12-20 12:52:12 +01:00
Mateusz Pusz b7884b90a8 Revert "feat: ISQ quantity names conflicts resolved with inline namespaces"
This reverts commit 043410d2f8.
2022-12-20 12:46:07 +01:00
Mateusz Pusz 043410d2f8 feat: ISQ quantity names conflicts resolved with inline namespaces 2022-12-20 11:20:47 +01:00
Mateusz Pusz dd8a0a9697 feat: electromagnetic SI constants added 2022-12-20 10:42:13 +01:00