Commit Graph
1401 Commits
Author SHA1 Message Date
Johel Ernesto Guerrero Peña 8d8f73c0cf refactor: update hacks for LLVM 14 2021-09-14 17:34:15 +02:00
Mateusz Pusz 4ee09113eb Merge branches 'master' and 'master' of https://github.com/mpusz/units 2021-09-10 13:12:12 +02:00
Mateusz Pusz 5c15018190 build: Dependencies updated to gsl-lite/0.38.1 and catch2/2.13.7 2021-09-10 08:17:04 +02:00
Mateusz Pusz 620835db97 test: Numeric rounding error commented out 2021-09-10 08:08:02 +02:00
Mateusz Pusz 48c4edf004 ci: Conan 1.40 added supports for clang-13
Leaving the code commented for the next case with clang-14
2021-09-10 07:36:11 +02:00
Mateusz Pusz 89d704f867 ci: Setting CMake generator in Conan fixed for VS2019 2021-09-09 10:20:53 +02:00
Mateusz Pusz 9fd9e00504 build: Conan 1.40 support fixed 2021-09-09 10:12:14 +02:00
Mateusz Pusz 120d863c40 test: derived_quantity-related compilation error fixed 2021-09-09 09:26:23 +02:00
Mateusz Pusz 04e66188bd fix: HEP compilation issues fixed 2021-09-09 09:20:10 +02:00
Mateusz Pusz 7708cb458c docs: A new way of setting CMake generator for Conan provided in usage 2021-09-09 09:14:16 +02:00
Mateusz Pusz 1ebf72e041 build: linear algebra switched to wg21-linear_algebra/0.7.2 2021-09-09 09:13:10 +02:00
Mateusz Pusz 74ec93bda3 build: Required Conan version bumped to 1.40 2021-09-09 09:07:46 +02:00
Mateusz Pusz 32868c9721 build: CMake generator is no longer obtained from an enviornment variable
Use Conan's `tools.cmake.cmaketoolchain:generator` `[conf]` option to set required generator
2021-09-09 09:01:05 +02:00
Mateusz Pusz df45eafac0 build: Conan layout support added
Conan 1.40 no longer supports providing source folder in `cmake.configure()`
2021-09-09 08:58:52 +02:00
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