Johel Ernesto Guerrero Peña
d6fba478b9
feat: working dimension concepts with UNITS_DOWNCAST OFF
...
continuation of https://github.com/johelegp/units-1/commit/22e6107d0f363d894dcef98dd427e4004ac88f30
2020-09-10 00:01:06 +02:00
Mateusz Pusz
9527b39005
refactor: 💥 q_* UDL renamed to _q_*
...
We had some fun exploring the STD UDLs for potential collisions,
we have learnt our lesson and know how to proceed.
Now is high time to start behaving and obeying C++ rules.
2020-09-09 19:20:35 +02:00
Mateusz Pusz
3e9d5ca189
refactor: ♻️ unitless renamed to one
...
Resolves #27
2020-09-09 11:20:55 +02:00
Mateusz Pusz
9a49df7222
refactor: 💥 Scalar concept renamed to ScalableNumber
...
Resolves #114
2020-09-08 21:17:09 +02:00
Mateusz Pusz
563b358d5e
feat!: 💥 dimensionless quantities refactored
...
Dimensionless quantities are now represented by quantity types rather
than by plain representation types. Only dimensionless quantities with
`unitless` unit are implicitly convertible from representation types.
`units::exp()` now is a function doing std::exp() on a representation
type (previous `units::exp` class template was renamed to
`units::exponent`).
BREAKING_CHANGE: gcc-9.3 support removed
BREAKING_CHANGE: `exp` and `Exp` renamed to `exponent` and `Exponent`
Resolves #27
Resolves #42
2020-09-08 11:02:16 +02:00
Johel Ernesto Guerrero Peña
46761ea2f7
refactor: *_instantation_of to *_specialization_of
2020-09-06 22:52:01 +02:00
Mateusz Pusz
b318e8d039
VS2019 support added
2020-09-04 23:06:57 +02:00
Mateusz Pusz
5cb6d93099
Merge branch 'master' of github.com:mpusz/units
2020-06-29 20:31:47 +02:00
Mateusz Pusz
7eccef78a9
is_instantiation renamed to is_instantiation_of
2020-06-29 20:28:10 +02:00
Mike Ford
cacbea1d4c
corrected copy-paste error in mole definition
2020-06-29 18:46:34 +02:00
Mateusz Pusz
d2c66e79f5
angular_velocity support fixed
2020-06-27 19:23:32 +02:00
Mateusz Pusz
9125c1bf2e
Merge branch 'master' of github.com:mpusz/units
2020-06-27 19:15:57 +02:00
Mateusz Pusz
d171f5451e
NTTP ratio support added ( resolves #49 )
2020-06-27 19:15:46 +02:00
Mike Ford
34df0eb3db
trivial reordering
2020-06-27 19:00:46 +02:00
Mike Ford
db5a6e9cbd
added angular velocity dimension, header file and test in si system
2020-06-27 19:00:46 +02:00
Mike Ford
d551e089a9
added mil udl
2020-06-25 17:12:31 +02:00
Mike Ford
0f8e4cea3f
added some more lengths to fps system
2020-06-25 17:12:31 +02:00
Mike Ford
1cf58f3796
added to fps length, mass, force and pressure
2020-06-17 14:56:32 +02:00
Mateusz Pusz
169e73e61b
named_deduced_derived_unit renamed to named_deduced_unit
2020-06-16 19:15:09 +02:00
Mike Ford
c97a438807
playing with named derived units to allow knots to be deduced from
...
nautical miles & hours but be called knot instead of mi(naut) / h
2020-06-16 15:14:46 +02:00
Mike Ford
aa84dcb9ef
added example and some more units to fps system
2020-06-16 15:14:46 +02:00
Mike Ford
5b9203d9d6
Added the "named_deduced_unit" type and more units to the fps system
...
The named_deduced_unit type can be used as a named type for child for child
deduced units
2020-06-16 15:14:46 +02:00
Mike Ford
8230a42cb0
added some units for the foot-pound-second system and the static tests
2020-06-16 15:14:46 +02:00
Andy Little
031da7df42
si angle header : fix wrong literal return type so now returns an angle rather than a length!
2020-05-21 11:05:39 +02:00
Andy Little
f281e417e2
Experimental branch using angle as a dimension.
...
Added dim_angle, Angle concept etc.
Not really for merging, but fun to play with.(The main problem is that it doesnt conform to SI)
See https://github.com/mpusz/units/issues/99
Could try adding degrees etc in same way as non-si units
2020-05-20 21:34:04 +02:00
Mateusz Pusz
61fadb8ebc
dim_velocity renamed to dim_speed
2020-05-14 16:00:38 +02:00
Mateusz Pusz
09e24114b0
Missing headers added to si.h
2020-05-10 22:40:28 +02:00
Mateusz Pusz
ce301748dd
Velocity renamed to Speed ( resolves #103 )
2020-05-10 17:31:47 +02:00
Mateusz Pusz
7e935a4108
Physical units put in the physical namespace (I am sorry)
2020-05-08 22:39:24 +02:00
Ramzi Sabra
2f6ecb113a
removed base_prefix_family from unit classes, added PrefixFamily template argument to alias_unit
2020-05-08 10:41:38 +02:00
Ramzi Sabra
81b3ff9bdc
added prefixed SI units for current
2020-05-08 10:41:38 +02:00
Ramzi Sabra
7b8ad8e37c
changed hectare to an alias_unit
2020-05-08 10:41:38 +02:00
Ramzi Sabra
6f8bddc832
added more prefixed SI units; added alias_unit and prefixed_alias_unit types
2020-05-08 10:41:38 +02:00
Mateusz Pusz
202a2b0823
Missing dimension concepts tests added
2020-05-07 09:25:34 +02:00
Mateusz Pusz
1afdf99dad
Conductance concept definition fixed
2020-05-07 09:05:26 +02:00
Mateusz Pusz
ff21e1e899
GCC 10 compilation fixed
2020-05-05 21:25:56 +02:00
rbrugo
9ec5c77602
Added molar heat capacity
2020-04-10 16:36:08 +02:00
rbrugo
7dda8319a2
Added molar energy
2020-04-10 16:36:08 +02:00
rbrugo
89dbc30a92
Added permeability
2020-04-10 16:36:08 +02:00
rbrugo
596161cca5
Added permittivity
2020-04-10 16:36:08 +02:00
rbrugo
1cf0074483
Added charge density
2020-04-10 16:36:08 +02:00
rbrugo
7803da0bdf
Added electric field strength
2020-04-10 16:36:08 +02:00
rbrugo
15138286e5
Added thermal conductivity
2020-04-10 16:36:08 +02:00
rbrugo
017e88ca28
Added heat capacity and specific heat capacity
2020-04-10 16:36:08 +02:00
rbrugo
07b5364c97
Added dynamic viscosity
2020-04-10 16:36:08 +02:00
rbrugo
4b4cc70764
Added luminance
2020-04-10 16:36:08 +02:00
rbrugo
8ddd7e1233
Added concentration
2020-04-10 16:36:08 +02:00
rbrugo
a6614cace2
Sorted si.h header
2020-04-10 16:36:08 +02:00
rbrugo
15833669d8
Fixed text formatting for current density in unit test
2020-04-10 16:36:08 +02:00
rbrugo
e6b34b6b1b
Added current density
2020-04-10 16:36:08 +02:00