Commit Graph
271 Commits
Author SHA1 Message Date
Mateusz Pusz 47a82f466c refactor: scalar and complex renamed to real_scalar and complex_scalar respectively + concepts refactoring + electromagnetism fixes 2025-02-11 17:26:19 +01:00
Mateusz Pusz 9fb08e3c95 feat: electromagnetism.h updated to IEC80000-6-2022 2025-02-11 16:53:40 +01:00
Mateusz Pusz fa482c9246 feat: deprecation messages now provide the release version where the deprecation happened 2025-02-11 10:07:34 +01:00
Mateusz Pusz a74658937a feat: rankine unit added 2025-01-22 11:01:36 +01:00
Mateusz Pusz b77aa52355 refactor: absolute renamed to point
Resolves #645
2024-11-24 14:19:16 +01:00
Mateusz Pusz de534b3fbd refactor: private unit_magnitude interface renamed to not use leading _ 2024-11-21 09:37:36 +01:00
Mateusz Pusz 16e816d4cb refactor: 💥 Magnitude renamed to UnitMagnitude and magnitude to unit_magnitude 2024-11-21 08:58:18 +01:00
Mateusz Pusz 51f2539fae build: MP_UNITS_DEV_TIME_TRACE CMake option added 2024-11-17 13:35:12 +01:00
Chip Hogg de68b3a9f1 Replace old factoring with Baillie-PSW 2024-11-15 13:30:05 -05:00
Mateusz Pusz 2590aa4b80 refactor: MP_UNITS_NONCONST_TYPE introduced to benefit from the C++23 feature 2024-11-13 21:13:22 +01:00
Mateusz Pusz 1ee824423e refactor: usage of v for the function argument name changed to prevent shadowing errors 2024-11-12 16:22:14 +01:00
Mateusz Pusz 315e47c257 fix: electric_dipole_moment is now defined in terms of displacement instead of position_vector 2024-11-06 18:46:24 +01:00
Mateusz Pusz 6896d8e086 fix: velocity is now defined in terms of displacement instead of position_vector 2024-11-06 18:46:01 +01:00
Mateusz Pusz 0c692dca8c fix: position_vector is a specialized displacement 2024-11-06 18:30:51 +01:00
Mateusz Pusz c7303cc5fb refactor: representation concepts refactored + some quantities switched to complex 2024-11-05 19:09:16 +01:00
Mateusz Pusz d8bc0598fe style: clang-format in pre-commit updated to 19.1.2 2024-10-29 15:04:28 +01:00
Mateusz Pusz 975025f88a refactor: 💥 convertibility traits and concepts refactored to use bool flags instead of wrappers 2024-10-29 13:15:10 +01:00
Mateusz Pusz af18a6ba51 refactor: 💥 𝜋 replaced with π 2024-10-24 07:22:45 +02:00
Mateusz Pusz 91f0ad0a12 refactor: quantity.h is not needed in constants.h (unit.h is enough) 2024-10-15 21:03:43 +02:00
Mateusz Pusz 6591a65d06 feat: 𝜋 added as an alias for pi 2024-10-14 22:49:58 +02:00
Mateusz Pusz d790c8b44a feat: Unicode unit symbols 2024-10-10 00:10:05 +02:00
Mateusz Pusz dd55a52675 feat: alternative litre unit symbol L added to prevent ambiguities with 1 2024-10-06 08:53:04 +02:00
Mateusz Pusz 2249879d62 feat: litre text symbol changed from l to L to avoid ambiguity with 1 2024-10-06 08:32:16 +02:00
Mateusz Pusz 07e4e795c1 refactor: magnitude interface cleanup 2024-10-04 17:22:15 +02:00
Mateusz Pusz fcbd172135 feat: iec::bit using-declared in iec::unit_symbols 2024-09-28 15:08:36 +02:00
Mateusz Pusz fb8f67c68a refactor: 💥 all iec quantity specifications are now deprecated and moved to isq
IEC 80000-13 is a part of ISQ so quantity specifications should be in an `isq` namespace.
2024-09-28 15:06:22 +02:00
Mateusz Pusz 5a48f19746 feat: 💥 phase_velocity and group_velocity aliases removed from ISQ by ISO 2024-09-28 11:58:28 +02:00
Mateusz Pusz 1caa7b7406 feat: iec80000 namespace marked as deprecated 2024-09-26 10:22:43 +02:00
Mateusz Pusz dcab80525d refactor: 💥 common_XXX() functions renamed to get_common_XXX()
This is needed to release a name for `common_unit` type that is coming soon.
2024-09-24 09:36:59 +02:00
Mateusz Pusz 3671f64153 refactor: 💥 magnitudes code cleanup + mag_pi is now mag<pi> 2024-09-23 13:42:39 +02:00
Mateusz Pusz 7a83c2b391 feat: iec::var unit added 2024-09-20 10:57:23 -06:00
Mateusz Pusz e92178abef refactor: 💥 iec80000 system renamed to iec 2024-09-20 10:01:32 -06:00
Mateusz Pusz 696f789e77 fix: complex_power & co fixed 2024-09-19 21:43:19 -06:00
Jonas Hoppe f651438f29 [clang-format] 2024-09-10 09:58:05 +02:00
Jonas Hoppe aebf55c09a Revert "Merge branch 'master-msvc-194-only-lib' into master-msvc-194"
This reverts commit e3034c5554, reversing
changes made to 8be458b0b7.
2024-09-09 12:10:39 +02:00
Jonas Hoppe 1d0dbf48b1 Merge remote-tracking branch 'mpusz/master' into master-msvc-194 2024-09-09 12:05:19 +02:00
Mateusz Pusz 7eb9b764bd fix: workarounds for not-working CWG2387 2024-09-05 22:05:35 +02:00
Mateusz Pusz 45013f6752 fix: inline restored for non-template constexpr global variables 2024-09-05 10:06:43 +02:00
Mateusz Pusz 2e840cfdb4 refactor: Repetitive inline constexpr removed as no longer needed
Not needed anymore as stated in cplusplus/draft#4601
2024-09-05 08:43:36 +02:00
Jonas Hoppe 93af5db137 [clang-format] 2024-09-04 10:30:39 +02:00
Jonas Hoppe 712afc34b7 [PR] rename macros to match naming conventions for workaround 2024-09-04 09:37:41 +02:00
Jonas Hoppe d18bb28a25 [PR] remove MP_UNITS_TYPENAME 2024-09-04 09:32:21 +02:00
Jonas Hoppe 0b0d3345e5 [clang-format] 2024-09-03 13:17:44 +02:00
Jonas Hoppe a89bfc6c21 [hacks] add MP_UNITS_IS_VALUE 2024-09-03 12:14:42 +02:00
Jonas Hoppe 30ac2882bd [msvc][fix] a lot of brackets where msvc prefers
the type and not the value. (Issue reported)
2024-09-03 09:43:34 +02:00
Mateusz Pusz f0e19d004c fix: the remaining pascal macro conflicts fixed
Resolves #605
2024-08-25 17:31:58 +02:00
Mateusz Pusz 77625d63cb feat: 💥 unit_can_be_prefixed removed - from now on all named units can be prefixed
Resolves #604
2024-08-22 08:06:00 +02:00
Mateusz Pusz 27bd2690bd fix: preventing import std; in GMF 2024-07-16 20:50:04 +02:00
Mateusz Pusz b870b85c25 feat: import std; support added
Resolves #595
2024-07-16 17:36:00 +02:00
Mateusz Pusz 73f7901329 build: duplicated cmake_minimum_required commands removed
Resolves #592
2024-07-14 18:04:05 +02:00