]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
this function DID get called directly and with default argument
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 Jul 2008 20:41:47 +0000 (20:41 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 2 Jul 2008 20:41:47 +0000 (20:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@16419 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/matrices.cc

index d436889303d6932230ed91f3ce89b8c93465a663..0a731611eaa09950bf19678bfb3a79e4b9e22c5d 100644 (file)
@@ -945,6 +945,10 @@ MatrixCreator::create_boundary_mass_matrix (const Mapping<dim>        &mapping,
 {
   const FiniteElement<dim> &fe = dof.get_fe();
   const unsigned int n_components  = fe.n_components();
+
+  if (component_mapping.size() == 0)
+    for (unsigned int i=0;i<n_components;++i)
+      component_mapping.push_back(i);
   
   Assert (matrix.n() == dof.n_boundary_dofs(boundary_functions),
           ExcInternalError());

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.