deallog << "Point " << x << std::endl;
for (unsigned int i=0;i<n;++i)
{
- deallog << "p[" << i << "] value " << values[i];
- deallog << " first " << gradients[i];
+ deallog << "p[" << i << "] value ";
+ for (unsigned int d=0;d<dim;++d)
+ deallog << (int) (values[i][d]+.5) << ' ';
+ deallog << " first ";
+ for (unsigned int d1=0;d1<dim;++d1)
+ for (unsigned int d2=0;d2<dim;++d2)
+ deallog << (int) (gradients[i][d1][d2]+.5) << ' ';
deallog << std::endl;
}
}
{
Point<2> x;
- PolynomialsBDM<2> p21(1);
+ PolynomialsBDM<2> p1(1);
+ PolynomialsBDM<2> p2(2);
- x(0) = 1.;
- check_point(x, p21);
+ x(0) = 2.;
+ x(1) = 3.;
+// if (dim>2)
+// x(2) = 4;
+
+ check_point(x, p1);
+ check_point(x, p2);
}
template<int dim>
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams