deallog << "i=" << i << ", q=" << q << std::endl;
deallog << " "
<< fe_values[single_component].value (i,q) << ' '
- << fe_values[single_component].gradient (i,q) << ' '
- << fe_values[single_component].hessian (i,q) << std::endl;
+ << fe_values[single_component].gradient (i,q) << std::endl;
+ for (unsigned int k=0; k<dim; ++k)
+ for (unsigned int l=0; l<dim; ++l)
+ deallog << fe_values[single_component].hessian (i,q)[k][l] << std::endl;
Assert (fe_values[single_component].value (i,q)
==
deallog.attach(logfile);
deallog.depth_console (0);
- deallog.threshold_double(1.e-12);
+ deallog.threshold_double(1.e-10);
test_hyper_sphere<2>();
test_hyper_sphere<3>();
<< fe_values[vec_components].value (i,q) << ' '
<< fe_values[vec_components].gradient (i,q) << ' '
<< fe_values[vec_components].divergence (i,q) << ' '
- << fe_values[vec_components].symmetric_gradient (i,q) << ' '
- << fe_values[vec_components].hessian (i,q)
- << std::endl;
+ << fe_values[vec_components].symmetric_gradient (i,q) << std::endl;
+ for (unsigned int k=0; k<dim; ++k)
+ for (unsigned int l=0; l<dim; ++l)
+ deallog << fe_values[vec_components].hessian (i,q)[k][l]
+ << std::endl;
for (unsigned int d=0; d<dim; ++d)
{
deallog.attach(logfile);
deallog.depth_console (0);
- deallog.threshold_double(1.e-12);
+ deallog.threshold_double(1.e-10);
test_hyper_sphere<2>();
test_hyper_sphere<3>();
deallog << "i=" << i << ", q=" << q << std::endl;
deallog << " "
<< fe_values[single_component].value (i,q) << ' '
- << fe_values[single_component].gradient (i,q) << ' '
- << fe_values[single_component].hessian (i,q) << std::endl;
+ << fe_values[single_component].gradient (i,q) << std::endl;
+ for (unsigned int k=0; k<dim; ++k)
+ for (unsigned int l=0; l<dim; ++l)
+ deallog << fe_values[single_component].hessian (i,q)[k][l] << std::endl;
Assert (fe_values[single_component].value (i,q)
==
deallog.attach(logfile);
deallog.depth_console (0);
- deallog.threshold_double(1.e-12);
+ deallog.threshold_double(1.e-10);
test_hyper_sphere<2>();
test_hyper_sphere<3>();
deallog << "i=" << i << ", q=" << q << std::endl;
deallog << " "
<< fe_values[vec_components].value (i,q) << ' '
- << fe_values[vec_components].gradient (i,q) << ' '
- << fe_values[vec_components].symmetric_gradient (i,q)
- << fe_values[vec_components].hessian (i,q)
- << std::endl;
+ << fe_values[vec_components].gradient (i,q) << std::endl;
+ for (unsigned int k=0; k<dim; ++k)
+ for (unsigned int l=0; l<dim; ++l)
+ deallog << fe_values[vec_components].symmetric_gradient (i,q)[k][l]
+ << fe_values[vec_components].hessian (i,q)[k][l]
+ << std::endl;
for (unsigned int d=0; d<dim; ++d)
{
deallog.attach(logfile);
deallog.depth_console (0);
- deallog.threshold_double(1.e-12);
+ deallog.threshold_double(1.e-10);
test_hyper_sphere<2>();
test_hyper_sphere<3>();
FEValues<dim> fe_values (fe, quadrature, update_covariant_transformation | update_hessians);
fe_values.reinit (dof.begin_active());
-
- deallog << fe_values.shape_hessian_component (0,0,0) << std::endl;
+
+ for (unsigned int i=0; i<dim; ++i)
+ for (unsigned int j=0; j<dim; ++j)
+ deallog << fe_values.shape_hessian_component (0,0,0)[i][j] << std::endl;
// compare the hessian with
// itself. this fails if the
deallog.attach(logfile);
deallog.depth_console (0);
- deallog.threshold_double(1.e-12);
+ deallog.threshold_double(1.e-10);
test_hyper_sphere<2>();
test_hyper_sphere<3>();
-DEAL::6.0 2.2e-10 -2.8e-11 0.0
-DEAL::6.0 4.4e-10 6.7e-10 0.0 0.0 0.0 -2.6e-11 1.9e-11 -4.6e-27
+DEAL::6.0
+DEAL::4.4e-10
+DEAL::0
+DEAL::0
+DEAL::6.0
+DEAL::6.7e-10
+DEAL::4.4e-10
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::0