xo-unit: refactor: nu_maker.make_bpu_array -> make_nu
This commit is contained in:
parent
efc4623492
commit
cb2b1c8b9e
1 changed files with 13 additions and 13 deletions
|
|
@ -552,7 +552,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> v
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::mass, scalefactor_ratio_type(1000, 1), power_ratio_type(1, 1))));
|
||||
|
||||
static_assert(v.n_bpu() == 1);
|
||||
|
|
@ -560,7 +560,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> v
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)),
|
||||
bpu<int64_t>(dim::mass, scalefactor_ratio_type(1, 1000), power_ratio_type(-1, 1))));
|
||||
|
||||
|
|
@ -582,7 +582,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> v
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)),
|
||||
bpu<int64_t>(dim::mass, scalefactor_ratio_type(1, 1000), power_ratio_type(-1, 1))));
|
||||
|
||||
|
|
@ -629,7 +629,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> v
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)),
|
||||
bpu<int64_t>(dim::time, scalefactor_ratio_type(30*24*3600, 1), power_ratio_type(-1, 2))));
|
||||
|
||||
|
|
@ -673,7 +673,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> v
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)),
|
||||
bpu<int64_t>(dim::mass, scalefactor_ratio_type(1, 1000), power_ratio_type(-1, 1))));
|
||||
|
||||
|
|
@ -717,14 +717,14 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> v
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)),
|
||||
bpu<int64_t>(dim::mass, scalefactor_ratio_type(1, 1000), power_ratio_type(-1, 1))));
|
||||
|
||||
static_assert(v.n_bpu() == 2);
|
||||
|
||||
constexpr natural_unit<int64_t> w
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::time, scalefactor_ratio_type(30*24*3600, 1), power_ratio_type(-1, 2))));
|
||||
|
||||
static_assert(w.n_bpu() == 1);
|
||||
|
|
@ -764,7 +764,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> v
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::distance, scalefactor_ratio_type(1, 1000), power_ratio_type(2, 1)),
|
||||
bpu<int64_t>(dim::mass, scalefactor_ratio_type(1, 1000), power_ratio_type(-1, 1))));
|
||||
|
||||
|
|
@ -791,7 +791,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> v
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::distance, scalefactor_ratio_type(1000, 1), power_ratio_type(2, 1))));
|
||||
|
||||
static_assert(v.n_bpu() == 1);
|
||||
|
|
@ -817,7 +817,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> v
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::mass, scalefactor_ratio_type(1000, 1), power_ratio_type(1, 1)),
|
||||
bpu<int64_t>(dim::distance, scalefactor_ratio_type(1, 1), power_ratio_type(1, 1)),
|
||||
bpu<int64_t>(dim::time, scalefactor_ratio_type(1, 1), power_ratio_type(-2, 1))));
|
||||
|
|
@ -845,7 +845,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> v
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::mass, scalefactor_ratio_type(1000, 1), power_ratio_type(1, 1)),
|
||||
bpu<int64_t>(dim::distance, scalefactor_ratio_type(1, 1), power_ratio_type(1, 1))));
|
||||
|
||||
|
|
@ -871,7 +871,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> w
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::mass, scalefactor_ratio_type(1000, 1), power_ratio_type(1, 1))));
|
||||
|
||||
static_assert(w.n_bpu() == 1);
|
||||
|
|
@ -889,7 +889,7 @@ namespace xo {
|
|||
|
||||
{
|
||||
constexpr natural_unit<int64_t> w
|
||||
= (nu_maker<int64_t>::make_bpu_array
|
||||
= (nu_maker<int64_t>::make_nu
|
||||
(bpu<int64_t>(dim::time, scalefactor_ratio_type(1, 1), power_ratio_type(1, 1))));
|
||||
|
||||
static_assert(w.n_bpu() == 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue