-
Notifications
You must be signed in to change notification settings - Fork 1
concept custom_dimension
Andy Little edited this page Aug 4, 2020
·
16 revisions
A custom dimension is mainly useful to create a named_dimension to distinguish dimensionally equivalent quantities that model different phenomena , such as torque and energy, for custom output.
typename | model of | implies | notes |
---|---|---|---|
Dc | custom_dimension | (! is_base_quantity_exp<Dc> && ! is_dimension_list<Dc> ) | |
Ds | simple_dimension |
concept | notes |
---|---|
dimension<Dc> |
inline bool constant | value |
---|---|
is_custom_dimension<Dc> | true |
inline bool constant | value | Notes |
---|---|---|
impl::is_custom_dimension_impl<Dc> | true | states that Dc fulfills the requirements below |
typestruct | result | notes |
---|---|---|
impl::get_simple_dimension_impl<Dc> | Ds | dimensionally_equivalent<Ds,Dc> == true |