From: bangerth Date: Fri, 18 Feb 2011 20:58:26 +0000 (+0000) Subject: Add a newline to the end of the file. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cde7e6807fa440cb4e195771889233a80fb2e58;p=dealii-svn.git Add a newline to the end of the file. git-svn-id: https://svn.dealii.org/trunk@23402 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/fe/shapes.h b/tests/fe/shapes.h index c460ec8a6a..a0196c6861 100644 --- a/tests/fe/shapes.h +++ b/tests/fe/shapes.h @@ -51,7 +51,7 @@ plot_shape_functions(Mapping& mapping, deallog.push(fname); fe.reinit(c); - + unsigned int k=0; for (unsigned int mz=0;mz<=((dim>2) ? div : 0) ;++mz) { @@ -60,7 +60,7 @@ plot_shape_functions(Mapping& mapping, for (unsigned int mx=0;mx<=div;++mx) { deallog << q.point(k); - + for (unsigned int i=0;i& mapping, sprintf(fname, "Face%dd-%s", dim, name); deallog.push(fname); - + for (unsigned int f=0; f::faces_per_cell; ++f) { if (!c->face(f)->has_children()) { fe.reinit(c, f); - + unsigned int k=0; for (unsigned int my=0;my<=((dim>2) ? div : 0) ;++my) { for (unsigned int mx=0;mx<=div;++mx) { deallog << fe.quadrature_point(k); - + for (unsigned int i=0;i& mapping, for (unsigned int s=0;s::max_children_per_face; ++s) { sub.reinit(c, f, s); - + unsigned int k=0; for (unsigned int my=0;my<=((dim>2) ? div : 0) ;++my) { for (unsigned int mx=0;mx<=div;++mx) { deallog << sub.quadrature_point(k); - + for (unsigned int i=0;i& mapping, const Tensor<2,dim> s1 = sub.shape_2nd_derivative(i,k), s2 = sub.shape_2nd_derivative_component(i,k,c); Assert (s1 == s2, ExcInternalError()); - } + } else Assert ((sub.shape_value_component(i,k,c) == 0) && (sub.shape_grad_component(i,k,c) == Tensor<1,dim>()) && @@ -222,7 +222,7 @@ plot_face_shape_functions(Mapping& mapping, } deallog << std::endl; } - deallog << std::endl; + deallog << std::endl; } } } @@ -276,7 +276,7 @@ check_values_and_derivatives (const FiniteElement &fe, (fe_values.shape_value_component(i,x,c) == 0)), ExcInternalError()); }; - + // check gradients for (unsigned int x=0; x &mapping, const UpdateFlags update_all = (update_values | update_gradients | update_second_derivatives); - + // first check this for FEValues // objects if (true) @@ -362,4 +362,4 @@ void test_compute_functions (const Mapping &mapping, fe_values.reinit(dof.begin_active()); check_values_and_derivatives (fe, fe_values, q); }; -} \ No newline at end of file +}