Skip to content

concept custom_dimension

Andy Little edited this page Aug 4, 2020 · 16 revisions

| Home | Concepts | Types |

Description

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.

Notation

typename model of implies notes
Dc custom_dimension (! is_base_quantity_exp<Dc> && ! is_dimension_list<Dc> )
Ds simple_dimension

Provides

concept notes
dimension<Dc>
inline bool constant value
is_custom_dimension<Dc> true

Requires

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
Clone this wiki locally