From 12b9b0e635b735b9b690fcf602c0f37a2bb66d2e Mon Sep 17 00:00:00 2001 From: kanschat Date: Sun, 24 Oct 2010 17:34:40 +0000 Subject: [PATCH] why not use dofs_per_face? git-svn-id: https://svn.dealii.org/trunk@22457 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/dofs/dof_tools.cc | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index 539a5d215c..20f7bb0f2a 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -2240,15 +2240,12 @@ namespace internal const FiniteElement &fe = cell->get_fe(); const unsigned int fe_index = cell->active_fe_index(); - const unsigned int - n_dofs_on_mother = (4*fe.dofs_per_vertex+ - 4*fe.dofs_per_line+ - fe.dofs_per_quad), - n_dofs_on_children = (5*fe.dofs_per_vertex+ - 12*fe.dofs_per_line+ - 4*fe.dofs_per_quad); - //TODO[TL]: think about this and the following in case of anisotropic refinement - + const unsigned int n_dofs_on_mother = fe.dofs_per_face; + const unsigned int n_dofs_on_children = (5*fe.dofs_per_vertex+ + 12*fe.dofs_per_line+ + 4*fe.dofs_per_quad); +//TODO[TL]: think about this and the following in case of anisotropic refinement + dofs_on_mother.resize (n_dofs_on_mother); dofs_on_children.resize (n_dofs_on_children); -- 2.39.5