18 Eigen::MatrixXd xs(3, 2);
19 xs << 1, 2, 10, 20, 100, 200;
42 Eigen::Vector2d teval;
48 Eigen::MatrixXd xs(3, 2);
49 xs << 1, 2, 10, 20, 100, 200;
63 Eigen::MatrixXd xs(3, 3);
64 xs << 1, 2, 3, 10, 20, 30, 100, 200, 300;
82 Eigen::MatrixXd xs(3, 3);
83 xs << 1, 2, 3, 10, 20, 30, 100, 200, 300;
101 Eigen::MatrixXd xs(3, 3);
102 xs << 1, 2, 3, 10, 20, 30, 100, 200, 300;
120 Eigen::MatrixXd xs(3, 3);
121 xs << 1, 2, 3, 10, 20, 30, 100, 200, 300;
139 Eigen::MatrixXd xs(3, 2);
140 xs << 1, 2, 10, 20, 100, 200;
143 BOOST_TEST(
testing::equals(bspline.interpolateAt(256.1), Eigen::Vector3d(1, 10, 100)));
144 BOOST_TEST(
testing::equals(bspline.interpolateAt(256.2), Eigen::Vector3d(2, 20, 200)));
146 BOOST_TEST(
testing::equals(bspline.interpolateAt(256.1 + 0.1), Eigen::Vector3d(2, 20, 200)));
BOOST_AUTO_TEST_CASE(testIQNIMVJPPWithSubsteps)
BOOST_AUTO_TEST_CASE(TwoPointsLinear)
BOOST_AUTO_TEST_SUITE(PreProcess)
BOOST_AUTO_TEST_SUITE_END()
#define PRECICE_TEST_SETUP(...)
Creates and attaches a TestSetup to a Boost test case.
Eigen::VectorXd interpolateAt(double t) const
Samples the B-Spline interpolation.
boost::test_tools::predicate_result equals(const std::vector< float > &VectorA, const std::vector< float > &VectorB, float tolerance)
equals to be used in tests. Compares two std::vectors using a given tolerance. Prints both operands o...
Main namespace of the precice library.