--- /dev/null
+//---------------------------- dof_tools_14.cc ---------------------------
+// $Id$
+// Version: $Name$
+//
+// Copyright (C) 2003 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.
+//
+//---------------------------- dof_tools_14.cc ---------------------------
+
+#include "dof_tools_common.cc"
+#include <lac/vector.h>
+
+// check
+// DoFTools::count_boundary_dofs
+
+
+
+std::string output_file_name = "dof_tools_14.output";
+
+
+template <int dim>
+void
+check_this (const DoFHandler<dim> &dof_handler)
+{
+ // no other args
+ deallog << dof_handler.n_boundary_dofs() << std::endl;
+
+ // with FunctionMap
+ typename FunctionMap<dim>::type fm;
+ fm[0] = 0;
+ deallog << dof_handler.n_boundary_dofs(fm) << std::endl;
+
+ // with std::set
+ std::set<unsigned char> s;
+ s.insert (0);
+ deallog << dof_handler.n_boundary_dofs(s) << std::endl;
+
+}
--- /dev/null
+
+DEAL::Checking Q1 in 1d:
+DEAL::2
+DEAL::1
+DEAL::1
+DEAL::Checking Q1 in 2d:
+DEAL::12
+DEAL::5
+DEAL::5
+DEAL::Checking Q1 in 3d:
+DEAL::48
+DEAL::18
+DEAL::18
+DEAL::Checking Q2 in 1d:
+DEAL::2
+DEAL::1
+DEAL::1
+DEAL::Checking Q2 in 2d:
+DEAL::24
+DEAL::9
+DEAL::9
+DEAL::Checking Q2 in 3d:
+DEAL::186
+DEAL::57
+DEAL::57
+DEAL::Checking Q3 in 1d:
+DEAL::2
+DEAL::1
+DEAL::1
+DEAL::Checking Q3 in 2d:
+DEAL::36
+DEAL::13
+DEAL::13
+DEAL::Checking Q3 in 3d:
+DEAL::408
+DEAL::116
+DEAL::116
+DEAL::Checking DGQ0 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ0 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ0 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ1 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ1 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ1 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ2 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ2 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ2 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ3 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ3 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ3 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ4 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ4 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGQ4 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP0 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP0 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP0 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP1 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP1 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP1 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP2 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP2 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP2 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP3 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP3 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP3 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP4 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP4 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking DGP4 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking Nedelec1 in 2d:
+DEAL::12
+DEAL::4
+DEAL::4
+DEAL::Checking Nedelec1 in 3d:
+DEAL::96
+DEAL::29
+DEAL::29
+DEAL::Checking FE_Q<1>(1)3 in 1d:
+DEAL::6
+DEAL::3
+DEAL::3
+DEAL::Checking FE_DGQ<1>(2)2 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_DGP<1>(3)1 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_Q<2>(1)3 in 2d:
+DEAL::36
+DEAL::15
+DEAL::15
+DEAL::Checking FE_DGQ<2>(2)2 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_DGP<2>(3)1 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_Q<3>(1)3 in 3d:
+DEAL::144
+DEAL::54
+DEAL::54
+DEAL::Checking FE_DGQ<3>(2)2 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_DGP<3>(3)1 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_Q<1>(1)3FE_DGQ<1>(2)2 in 1d:
+DEAL::6
+DEAL::3
+DEAL::3
+DEAL::Checking FE_DGQ<1>(2)2FE_DGP<1>(3)1 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_DGP<1>(3)1FE_DGQ<1>(2)2 in 1d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_Q<2>(1)3FE_DGQ<2>(2)2 in 2d:
+DEAL::36
+DEAL::15
+DEAL::15
+DEAL::Checking FE_DGQ<2>(2)2FE_DGP<2>(3)1 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_DGP<2>(3)1FE_DGQ<2>(2)2 in 2d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_Q<3>(1)3FE_DGQ<3>(2)2 in 3d:
+DEAL::144
+DEAL::54
+DEAL::54
+DEAL::Checking FE_DGQ<3>(2)2FE_DGP<3>(3)1 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_DGP<3>(3)1FE_DGQ<3>(2)2 in 3d:
+DEAL::0
+DEAL::0
+DEAL::0
+DEAL::Checking FE_Q<1>(1)3FE_DGP<1>(3)1FE_Q<1>(1)3 in 1d:
+DEAL::12
+DEAL::6
+DEAL::6
+DEAL::Checking FE_DGQ<1>(2)2FE_DGQ<1>(2)2FE_Q<1>(3)3 in 1d:
+DEAL::6
+DEAL::3
+DEAL::3
+DEAL::Checking FE_DGP<1>(3)1FE_DGP<1>(3)1FE_Q<1>(2)3 in 1d:
+DEAL::6
+DEAL::3
+DEAL::3
+DEAL::Checking FE_Q<2>(1)3FE_DGP<2>(3)1FE_Q<2>(1)3 in 2d:
+DEAL::72
+DEAL::30
+DEAL::30
+DEAL::Checking FE_DGQ<2>(2)2FE_DGQ<2>(2)2FE_Q<2>(3)3 in 2d:
+DEAL::108
+DEAL::39
+DEAL::39
+DEAL::Checking FE_DGP<2>(3)1FE_DGP<2>(3)1FE_Q<2>(2)3 in 2d:
+DEAL::72
+DEAL::27
+DEAL::27
+DEAL::Checking FE_Q<3>(1)3FE_DGP<3>(3)1FE_Q<3>(1)3 in 3d:
+DEAL::288
+DEAL::108
+DEAL::108
+DEAL::Checking FE_DGQ<3>(2)2FE_DGQ<3>(2)2FE_Q<3>(3)3 in 3d:
+DEAL::1224
+DEAL::348
+DEAL::348
+DEAL::Checking FE_DGP<3>(3)1FE_DGP<3>(3)1FE_Q<3>(2)3 in 3d:
+DEAL::558
+DEAL::171
+DEAL::171
+DEAL::Checking (FESystem<2>(FE_Q<2>(1),3))3FE_DGQ<2>(3)1FE_Q<2>(1)3 in 2d:
+DEAL::144
+DEAL::60
+DEAL::60
+DEAL::Checking FE_DGQ<2>(3)1FESystem<2>(FE_DGQ<2>(3),3)1FESystem<2>(FE_Q<2>(2),3, FE_DGQ<2>(0),1)2 in 2d:
+DEAL::144
+DEAL::54
+DEAL::54
+DEAL::Checking FE_DGQ<2>(3)1FE_Nedelec<2>(1)2 in 2d:
+DEAL::24
+DEAL::8
+DEAL::8
+DEAL::Checking FE_Nedelec<2>(1)1FESystem<2>(FE_DGQ<2>(3),3)1FESystem<2>(FE_Q<2>(2),3, FE_Nedelec<2>(1),2)2 in 2d:
+DEAL::204
+DEAL::74
+DEAL::74