Commit Graph
1387 Commits
Author SHA1 Message Date
Mateusz Pusz 7a833e496e build: conanfile.py cleanup 2021-09-08 09:21:07 +02:00
Mateusz Pusz 7f9dcbf3d6 docs: HEP system documentation added 2021-09-02 22:24:20 +02:00
Mateusz Pusz 2e29ddfb69 docs: Changelog updated 2021-09-02 21:44:12 +02:00
Mateusz Pusz c3e7c11117 Merge branch 'RalphSteinhagen-master' 2021-09-02 21:42:07 +02:00
Mateusz Pusz 791b155a22 Merge branch 'master' of git://github.com/RalphSteinhagen/units into RalphSteinhagen-master 2021-09-02 21:41:54 +02:00
Mateusz Pusz 32d0f7c871 docs: Sphinx documentation fixes
Broken links, invalid chapter underlining, invalid code fragments, etc.
2021-08-29 22:27:13 +02:00
Mateusz Pusz 8847cff819 build: doxygen updated to 1.9.2 2021-08-29 22:23:45 +02:00
Ralph J. Steinhagen 26474375a9 Merge branch 'mpusz:master' into master 2021-08-28 08:47:53 +02:00
Ralph J. Steinhagen 157da0d068 added fixes to address review comments
* removed commented code in hep/area.h
* added dependency to si-hep in conanfile.py
* removed redundant electronvolt definition in hep/energy.h (+ last-minute bug/typo fix)
2021-08-14 19:57:32 +02:00
Mateusz Pusz 64edac75a7 docs: "Quantity References" chapter fixed 2021-08-10 14:37:03 +02:00
Mateusz Pusz 1530d1f6a3 ci: clang-13 support added for Conan 2021-08-10 14:33:48 +02:00
Mateusz Pusz 6b8cd399d5 ci: libunwind installation added for libc++ configurations 2021-08-10 14:22:47 +02:00
Mateusz Pusz 2986846cd1 ci: clang-13 CI added 2021-08-10 14:16:41 +02:00
Mateusz Pusz e6cfd4e69b build: clang-13 support added 2021-08-10 13:54:39 +02:00
rstein cc5318e5cc refactored HEP units into separate files and corrected namespace where necessary 2021-08-04 13:46:48 +02:00
Ralph J. Steinhagen 3fb6262d2c Merge branch 'mpusz:master' into master 2021-08-03 10:58:15 +02:00
Ralph J. Steinhagen 322cde70b9 added HEP specific units and definitions
in accordance with https://www.bipm.org/documents/20126/41483022/SI-Brochure-9.pdf#page=147

see also disccusion thread #292
2021-08-03 10:56:47 +02:00
Mateusz Pusz 1cd3c4bafb ci: The same changes applied to "CMake Test Package CI" workflow 2021-08-03 10:54:22 +02:00
Mateusz Pusz 942009f4f0 ci: "Ubuntu GCC 10.1.0" removed and "10.2.0" renamed to "10.3.0"
"Ubuntu GCC 10.1.0" is no longer provided on `ubuntu-18.04` image
2021-08-03 10:54:22 +02:00
Mateusz Pusz 0188aa265c build: force_host_context=True added for build_requires 2021-08-03 10:54:22 +02:00
Mateusz Pusz b2e98808c4 ci: The same changes applied to "CMake Test Package CI" workflow 2021-07-28 13:11:11 +02:00
Mateusz Pusz 01912350d2 ci: "Ubuntu GCC 10.1.0" removed and "10.2.0" renamed to "10.3.0"
"Ubuntu GCC 10.1.0" is no longer provided on `ubuntu-18.04` image
2021-07-28 13:09:54 +02:00
Mateusz Pusz d6673fe033 build: force_host_context=True added for build_requires 2021-07-28 11:45:02 +02:00
Ralph J. Steinhagen 471504bb12 Merge branch 'mpusz:master' into master 2021-07-27 15:24:03 +02:00
Mateusz Pusz ed5749a52b refactor: quantity op+() and op-() reimplemented in terms of reference rather then quantity types
`common_quantity`, `common_quantity_for`, `common_quantity_point`, `common_quantity_kind`, and `common_quantity_point_kind` removed

Resolves #290
2021-07-27 14:40:05 +02:00
Ralph J. Steinhagen f7fac3a7a5 Merge branch 'mpusz:master' into master 2021-07-19 09:45:13 +02:00
Johel Ernesto Guerrero Peña 7f64e55d04 docs: update changelog for #288 2021-06-30 12:26:56 +02:00
Johel Ernesto Guerrero Peña 0768f2739a fix: use complete type for MSVC 2021-06-30 12:26:56 +02:00
Johel Ernesto Guerrero Peña 8312b6e463 fix: factor out requires-expression to concept for MSVC 2021-06-30 12:26:56 +02:00
Johel Ernesto Guerrero Peña 80eefec97c fix: add quantity_point::origin, like std::chrono::time_point::clock 2021-06-29 20:44:27 +02:00
Ralph J. Steinhagen 7ed29807a6 removed superfluous requires statement in is_quantity<T> 2021-06-29 20:31:06 +02:00
Ralph J. Steinhagen 8e1539bf22 added inheritance unit-test and made is_quantity<T> more specific 2021-06-29 20:31:06 +02:00
Mateusz Pusz 95ac869522 extended is_quantity<T> to support quantity-derived classes
N.B. inheritance is preferred to composition/delegate class to avoid duplication and also inherent the various required operators ('+','-',..., '+=', ...) for details see discussion #271
2021-06-29 20:31:06 +02:00
Mateusz Pusz ae752da50e build: linear_algebra updated to 0.7.1 2021-06-29 19:20:10 +02:00
Ralph J. Steinhagen 5a1fe99a8e removed superfluous requires statement in is_quantity<T> 2021-06-29 17:33:17 +02:00
Ralph J. Steinhagen 7baaefe813 added inheritance unit-test and made is_quantity<T> more specific 2021-06-27 14:07:01 +02:00
Mateusz Pusz 1f27646d4c extended is_quantity<T> to support quantity-derived classes
N.B. inheritance is preferred to composition/delegate class to avoid duplication and also inherent the various required operators ('+','-',..., '+=', ...) for details see discussion #271
2021-06-27 11:31:54 +02:00
Mateusz Pusz b35b0bb61a docs: Doxygen updated to 1.9.1 2021-06-25 08:44:53 +02:00
Mateusz Pusz 6af61af935 Merge branch 'master' of github.com:mpusz/units 2021-06-08 18:00:57 +02:00
Mateusz Pusz 991bb2b6eb build: PROJECT_SOURCE_DIR explicitly set as the CCACHE_BASEDIR 2021-06-08 18:00:53 +02:00
Mateusz Pusz 6593413081 build: CCACHE_BASEDIR is no longer set by default 2021-06-08 17:58:49 +02:00
Mateusz Pusz 4a9425d670 build: Replace file(REAL_PATH ...) with an alternative working with an older CMake versions
Resolves #282
2021-06-06 18:56:46 +02:00
Mateusz Pusz 43825a531f chore: project version moved to 0.8.0 2021-05-11 23:07:03 +02:00
Mateusz Pusz e0009bdb0d docs: mp-units 0.7.0 is here :-) v0.7.0 2021-05-11 20:46:57 +02:00
Mateusz Pusz ae7aca5fa0 test: uncommented some already supported cases
Resolves #206
2021-05-11 20:12:46 +02:00
Mateusz Pusz 0174572645 refactor: merged op% of quantity_kind into one
Relates to #221
2021-05-11 19:40:58 +02:00
Mateusz Pusz c95e20c7ea refactor: quantity_kind constructors merged into one
Relates to #221
2021-05-11 19:39:50 +02:00
Mateusz Pusz b00cff8ec8 refactor: quantity_point construction now relays only on a construction of a quantity_type
Relates to #221
2021-05-11 19:38:14 +02:00
Mateusz Pusz 8540389530 fix: op% fixed for the same argument types case 2021-05-11 19:36:07 +02:00
Mateusz Pusz 6e42cabc64 feat: a support to define ISQ derived dimensions in terms of different number or order of components 2021-05-11 15:31:46 +02:00