]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix a bug
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 13 Mar 2006 21:50:18 +0000 (21:50 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 13 Mar 2006 21:50:18 +0000 (21:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@12580 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_tools.cc

index ab5a8f8086d44d126e90779ce750cbb171ff3d0f..5091d1aa75381cfb9c1df3102d4546ef01904e33 100644 (file)
@@ -217,7 +217,7 @@ void FETools::compute_block_renumbering (
     for (unsigned int m=0;m<element.element_multiplicity(b);++m)
       {
        start_indices[i++] = k;
-       k += element.base_element(k).n_dofs_per_cell();
+       k += element.base_element(b).n_dofs_per_cell();
       }
   Assert (i == element.n_blocks(), ExcInternalError());
   
@@ -1839,6 +1839,10 @@ void FETools::compute_component_wise(
   const FiniteElement<deal_II_dimension>& element,
   std::vector<unsigned int>&, std::vector<std::vector<unsigned int> >&);
 template
+void FETools::compute_block_renumbering (
+  const FiniteElement<deal_II_dimension>& element,
+  std::vector<unsigned int>&, std::vector<unsigned int>&_indices);
+template
 void FETools::get_interpolation_matrix<deal_II_dimension>
 (const FiniteElement<deal_II_dimension> &,
  const FiniteElement<deal_II_dimension> &,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.