• Home
  • Raw
  • Download

Lines Matching refs:bu

36 namespace bu = boost::units;
38 typedef bu::si::length si_length;
39 typedef bu::si::time si_time;
40 typedef bu::si::mass si_mass;
41 typedef bu::si::area si_area;
43 typedef bu::cgs::length cgs_length;
44 typedef bu::cgs::time cgs_time;
45 typedef bu::cgs::mass cgs_mass;
46 typedef bu::cgs::area cgs_area;
48 typedef bu::multiply_typeof_helper<si_length, cgs_length>::type mixed_length;
49 typedef bu::multiply_typeof_helper<si_time, cgs_time>::type mixed_time;
51 typedef bu::divide_typeof_helper<bu::multiply_typeof_helper<si_mass,cgs_area>::type, mixed_time>::t…
52 typedef bu::divide_typeof_helper<bu::multiply_typeof_helper<cgs_mass,mixed_length>::type,
53bu::multiply_typeof_helper<cgs_time,cgs_time>::type >::type mixed_energy_2;
57 BOOST_CONSTEXPR_OR_CONST bu::quantity<mixed_length> a1(2.0 * mixed_length()); in BOOST_AUTO_TEST_CASE()
58 BOOST_CONSTEXPR_OR_CONST bu::quantity<si_area> a2(a1); in BOOST_AUTO_TEST_CASE()
62 BOOST_CONSTEXPR_OR_CONST bu::quantity<mixed_length> a3(a2); in BOOST_AUTO_TEST_CASE()
66 BOOST_CONSTEXPR_OR_CONST bu::quantity<mixed_energy_1> e1(2.0 * mixed_energy_1()); in BOOST_AUTO_TEST_CASE()
67 BOOST_CONSTEXPR_OR_CONST bu::quantity<mixed_energy_2> e2(e1); in BOOST_AUTO_TEST_CASE()
71 BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::si::energy> e3(e1); in BOOST_AUTO_TEST_CASE()
73 BOOST_CONSTEXPR_OR_CONST bu::quantity<mixed_energy_2> e4(e3); in BOOST_AUTO_TEST_CASE()
76 BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::cgs::force> F0 = 20 * bu::cgs::dyne; in BOOST_AUTO_TEST_CASE()
79 BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::si::force> F3(F0); in BOOST_AUTO_TEST_CASE()
82 BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::si::force> F5(20 * bu::cgs::dyne); in BOOST_AUTO_TEST_CASE()
90 typedef bu::divide_typeof_helper<bu::cgs::force, bu::si::force>::type mixed_dimensionless; in BOOST_AUTO_TEST_CASE()
92 …BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::si::dimensionless> dimensionless_test1(1.0*bu::cgs::dyne… in BOOST_AUTO_TEST_CASE()
95 typedef bu::multiply_typeof_helper<bu::si::length, bu::cgs::length>::type m_cm; in BOOST_AUTO_TEST_CASE()
96 typedef bu::divide_typeof_helper<m_cm, m_cm>::type heterogeneous_dimensionless; in BOOST_AUTO_TEST_CASE()
97 …BOOST_CONSTEXPR_OR_CONST bu::quantity<heterogeneous_dimensionless> dimensionless_test2(1.0*bu::cgs… in BOOST_AUTO_TEST_CASE()
99 …BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::divide_typeof_helper<bu::cgs::force, bu::si::force>::typ… in BOOST_AUTO_TEST_CASE()
107 …TEXPR_OR_CONST bu::quantity<bu::divide_typeof_helper<bu::si::length, bu::cgs::length>::type> dimen… in BOOST_AUTO_TEST_CASE()
108 …BOOST_CONSTEXPR_OR_CONST bu::quantity<bu::divide_typeof_helper<bu::cgs::mass, bu::si::mass>::type>… in BOOST_AUTO_TEST_CASE()