--- /dev/null
+//---------------------------- n_dofs_per_object.cc ---------------------------
+// $Id: n_dofs_per_object.cc 11749 2005-11-09 19:11:20Z wolf $
+// Version: $Name$
+//
+// Copyright (C) 2003, 2004, 2006 by the deal.II authors
+//
+// This file is subject to QPL and may not be distributed
+// without copyright and license information. Please refer
+// to the file deal.II/doc/license.html for the text and
+// further information on this license.
+//
+//---------------------------- n_dofs_per_object.cc ---------------------------
+
+#include "../tests.h"
+#include "dof_tools_common.cc"
+#include <lac/vector.h>
+
+// check
+// FiniteElement::n_dofs_per_object
+
+
+
+std::string output_file_name = "n_dofs_per_object/output";
+
+
+template <int dim>
+void
+check_this (const DoFHandler<dim> &dof_handler)
+{
+ const FiniteElement<dim> &fe = dof_handler.get_fe();
+ deallog << fe.dofs_per_vertex << ' '
+ << fe.dofs_per_line << ' '
+ << fe.dofs_per_quad << ' '
+ << fe.dofs_per_hex << std::endl;
+ deallog << fe.template n_dofs_per_object<0>() << ' '
+ << fe.template n_dofs_per_object<1>() << ' '
+ << fe.template n_dofs_per_object<2>() << ' '
+ << fe.template n_dofs_per_object<3>() << std::endl;
+}
--- /dev/null
+
+DEAL::Checking Q1 in 1d:
+DEAL::1 0 0 0
+DEAL::1 0 0 0
+DEAL::Checking Q1 in 2d:
+DEAL::1 0 0 0
+DEAL::1 0 0 0
+DEAL::Checking Q1 in 3d:
+DEAL::1 0 0 0
+DEAL::1 0 0 0
+DEAL::Checking Q2 in 1d:
+DEAL::1 1 0 0
+DEAL::1 1 0 0
+DEAL::Checking Q2 in 2d:
+DEAL::1 1 1 0
+DEAL::1 1 1 0
+DEAL::Checking Q2 in 3d:
+DEAL::1 1 1 1
+DEAL::1 1 1 1
+DEAL::Checking Q3 in 1d:
+DEAL::1 2 0 0
+DEAL::1 2 0 0
+DEAL::Checking Q3 in 2d:
+DEAL::1 2 4 0
+DEAL::1 2 4 0
+DEAL::Checking Q3 in 3d:
+DEAL::1 2 4 8
+DEAL::1 2 4 8
+DEAL::Checking DGQ0 in 1d:
+DEAL::0 1 0 0
+DEAL::0 1 0 0
+DEAL::Checking DGQ0 in 2d:
+DEAL::0 0 1 0
+DEAL::0 0 1 0
+DEAL::Checking DGQ0 in 3d:
+DEAL::0 0 0 1
+DEAL::0 0 0 1
+DEAL::Checking DGQ1 in 1d:
+DEAL::0 2 0 0
+DEAL::0 2 0 0
+DEAL::Checking DGQ1 in 2d:
+DEAL::0 0 4 0
+DEAL::0 0 4 0
+DEAL::Checking DGQ1 in 3d:
+DEAL::0 0 0 8
+DEAL::0 0 0 8
+DEAL::Checking DGQ3 in 1d:
+DEAL::0 4 0 0
+DEAL::0 4 0 0
+DEAL::Checking DGQ3 in 2d:
+DEAL::0 0 16 0
+DEAL::0 0 16 0
+DEAL::Checking DGQ3 in 3d:
+DEAL::0 0 0 64
+DEAL::0 0 0 64
+DEAL::Checking DGP0 in 1d:
+DEAL::0 1 0 0
+DEAL::0 1 0 0
+DEAL::Checking DGP0 in 2d:
+DEAL::0 0 1 0
+DEAL::0 0 1 0
+DEAL::Checking DGP0 in 3d:
+DEAL::0 0 0 1
+DEAL::0 0 0 1
+DEAL::Checking DGP1 in 1d:
+DEAL::0 2 0 0
+DEAL::0 2 0 0
+DEAL::Checking DGP1 in 2d:
+DEAL::0 0 3 0
+DEAL::0 0 3 0
+DEAL::Checking DGP1 in 3d:
+DEAL::0 0 0 4
+DEAL::0 0 0 4
+DEAL::Checking DGP3 in 1d:
+DEAL::0 4 0 0
+DEAL::0 4 0 0
+DEAL::Checking DGP3 in 2d:
+DEAL::0 0 10 0
+DEAL::0 0 10 0
+DEAL::Checking DGP3 in 3d:
+DEAL::0 0 0 20
+DEAL::0 0 0 20
+DEAL::Checking Nedelec1 in 2d:
+DEAL::0 1 0 0
+DEAL::0 1 0 0
+DEAL::Checking Nedelec1 in 3d:
+DEAL::0 1 0 0
+DEAL::0 1 0 0
+DEAL::Checking RaviartThomas0 in 2d:
+DEAL::0 1 0 0
+DEAL::0 1 0 0
+DEAL::Checking RaviartThomas1 in 2d:
+DEAL::0 2 4 0
+DEAL::0 2 4 0
+DEAL::Checking RaviartThomas2 in 2d:
+DEAL::0 3 12 0
+DEAL::0 3 12 0
+DEAL::Checking RaviartThomasNodal0 in 2d:
+DEAL::0 1 0 0
+DEAL::0 1 0 0
+DEAL::Checking RaviartThomasNodal1 in 2d:
+DEAL::0 2 4 0
+DEAL::0 2 4 0
+DEAL::Checking RaviartThomasNodal2 in 2d:
+DEAL::0 3 12 0
+DEAL::0 3 12 0
+DEAL::Checking RaviartThomasNodal0 in 3d:
+DEAL::0 0 1 0
+DEAL::0 0 1 0
+DEAL::Checking RaviartThomasNodal1 in 3d:
+DEAL::0 0 4 12
+DEAL::0 0 4 12
+DEAL::Checking RaviartThomasNodal2 in 3d:
+DEAL::0 0 9 54
+DEAL::0 0 9 54
+DEAL::Checking FE_Q<1>(1)3 in 1d:
+DEAL::3 0 0 0
+DEAL::3 0 0 0
+DEAL::Checking FE_DGQ<1>(2)2 in 1d:
+DEAL::0 6 0 0
+DEAL::0 6 0 0
+DEAL::Checking FE_DGP<1>(3)1 in 1d:
+DEAL::0 4 0 0
+DEAL::0 4 0 0
+DEAL::Checking FE_Q<2>(1)3 in 2d:
+DEAL::3 0 0 0
+DEAL::3 0 0 0
+DEAL::Checking FE_DGQ<2>(2)2 in 2d:
+DEAL::0 0 18 0
+DEAL::0 0 18 0
+DEAL::Checking FE_DGP<2>(3)1 in 2d:
+DEAL::0 0 10 0
+DEAL::0 0 10 0
+DEAL::Checking FE_Q<3>(1)3 in 3d:
+DEAL::3 0 0 0
+DEAL::3 0 0 0
+DEAL::Checking FE_DGQ<3>(2)2 in 3d:
+DEAL::0 0 0 54
+DEAL::0 0 0 54
+DEAL::Checking FE_DGP<3>(3)1 in 3d:
+DEAL::0 0 0 20
+DEAL::0 0 0 20
+DEAL::Checking FE_Q<1>(1)3FE_DGQ<1>(2)2 in 1d:
+DEAL::3 6 0 0
+DEAL::3 6 0 0
+DEAL::Checking FE_DGQ<1>(2)2FE_DGP<1>(3)1 in 1d:
+DEAL::0 10 0 0
+DEAL::0 10 0 0
+DEAL::Checking FE_DGP<1>(3)1FE_DGQ<1>(2)2 in 1d:
+DEAL::0 10 0 0
+DEAL::0 10 0 0
+DEAL::Checking FE_Q<2>(1)3FE_DGQ<2>(2)2 in 2d:
+DEAL::3 0 18 0
+DEAL::3 0 18 0
+DEAL::Checking FE_DGQ<2>(2)2FE_DGP<2>(3)1 in 2d:
+DEAL::0 0 28 0
+DEAL::0 0 28 0
+DEAL::Checking FE_DGP<2>(3)1FE_DGQ<2>(2)2 in 2d:
+DEAL::0 0 28 0
+DEAL::0 0 28 0
+DEAL::Checking FE_Q<1>(1)3FE_DGP<1>(3)1FE_Q<1>(1)3 in 1d:
+DEAL::6 4 0 0
+DEAL::6 4 0 0
+DEAL::Checking FE_DGQ<1>(2)2FE_DGQ<1>(2)2FE_Q<1>(3)3 in 1d:
+DEAL::3 18 0 0
+DEAL::3 18 0 0
+DEAL::Checking FE_DGP<1>(3)1FE_DGP<1>(3)1FE_Q<1>(2)3 in 1d:
+DEAL::3 11 0 0
+DEAL::3 11 0 0
+DEAL::Checking FE_Q<2>(1)3FE_DGP<2>(3)1FE_Q<2>(1)3 in 2d:
+DEAL::6 0 10 0
+DEAL::6 0 10 0
+DEAL::Checking FE_DGQ<2>(2)2FE_DGQ<2>(2)2FE_Q<2>(3)3 in 2d:
+DEAL::3 6 48 0
+DEAL::3 6 48 0
+DEAL::Checking FE_DGP<2>(3)1FE_DGP<2>(3)1FE_Q<2>(2)3 in 2d:
+DEAL::3 3 23 0
+DEAL::3 3 23 0
+DEAL::Checking FE_DGQ<3>(1)3FE_DGP<3>(3)1FE_Q<3>(1)3 in 3d:
+DEAL::3 0 0 44
+DEAL::3 0 0 44
+DEAL::Checking (FESystem<2>(FE_Q<2>(1),3))3FE_DGQ<2>(0)1FE_Q<2>(1)3 in 2d:
+DEAL::12 0 1 0
+DEAL::12 0 1 0
+DEAL::Checking FE_DGQ<2>(3)1FESystem<2>(FE_DGQ<2>(0),3)1FESystem<2>(FE_Q<2>(2),1, FE_DGQ<2>(0),1)2 in 2d:
+DEAL::2 2 23 0
+DEAL::2 2 23 0
+DEAL::Checking FE_DGQ<2>(3)1FE_Nedelec<2>(1)2 in 2d:
+DEAL::0 2 16 0
+DEAL::0 2 16 0
+DEAL::Checking FE_Nedelec<2>(1)1FESystem<2>(FE_DGQ<2>(1),2)1FESystem<2>(FE_Q<2>(2),1, FE_Nedelec<2>(1),2)2 in 2d:
+DEAL::2 7 10 0
+DEAL::2 7 10 0