617 std::array<double, 3U>
const coords = {{ 1.0, 5.0, 9.0 }};
618 Vector
const v{ coords[0], coords[1], coords[2] };
620 unsigned int iCoord = 0;
621 for(
auto coordMan: geo::vect::coordReaders<Vector>()) {
622 auto const expected = coords[iCoord++];
624 BOOST_TEST(mc() == expected);
625 BOOST_TEST(mc == expected);
627 BOOST_TEST(iCoord == 3U);
633 BOOST_TEST(
x() == 1.0);
634 BOOST_TEST(
x == 1.0);
635 BOOST_TEST(
x() == v.X());
636 BOOST_TEST(c0() == v.X());
637 BOOST_TEST(mx() == 1.0);
638 BOOST_TEST(mx == 1.0);
639 BOOST_TEST(mx() == v.X());
640 BOOST_TEST(mc0() == v.X());
646 BOOST_TEST(
y() == 5.0);
647 BOOST_TEST(y == 5.0);
648 BOOST_TEST(
y() == v.Y());
649 BOOST_TEST(c1() == v.Y());
650 BOOST_TEST(
my() == 5.0);
651 BOOST_TEST(
my == 5.0);
652 BOOST_TEST(
my() == v.Y());
653 BOOST_TEST(mc1() == v.Y());
660 BOOST_TEST(
z() == 9.0);
661 BOOST_TEST(z == 9.0);
662 BOOST_TEST(
z() == v.Z());
663 BOOST_TEST(c2() == v.Z());
664 BOOST_TEST(mz() == 9.0);
665 BOOST_TEST(mz == 9.0);
666 BOOST_TEST(mz() == v.Z());
667 BOOST_TEST(mc2() == v.Z());
process_name opflash particleana ie ie ie z
auto Zcoord(Vector &v)
Returns an object to manage the coordinate Z of the vector v.
process_name opflash particleana ie x
auto coord(Vector &v, unsigned int n) noexcept
Returns an object to manage the coordinate n of a vector.
constexpr auto bindCoord(Vector const &v, CoordReader_t< Vector > helper)
Binds the specified constant vector to the coordinate reader.
my($xml, $fcl, $workdir, $check, $merge)
process_name opflash particleana ie ie y
auto Ycoord(Vector &v)
Returns an object to manage the coordinate Y of the vector v.
auto Xcoord(Vector &v)
Returns an object to manage the coordinate X of the vector v.