]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
cleanup before filling
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 15 Jan 2003 14:46:18 +0000 (14:46 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 15 Jan 2003 14:46:18 +0000 (14:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@6920 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/multigrid/multigrid.cc

index 1daf5fce7bf27c928f3cb96b3b4cea4d39aa0d2a..5cdce035772a7d6e13fcd15f36ba955f12da2c9f 100644 (file)
@@ -158,6 +158,9 @@ void MGTransferBlockBase::build_matrices (
   const MGDoFHandler<dim> &mg_dof,
   std::vector<bool> select) 
 {
+  prolongation_matrices.clear();
+  prolongation_sparsities.clear();
+
   const FiniteElement<dim>& fe = mg_dof.get_fe();
   const unsigned int n_components  = fe.n_components();
   const unsigned int dofs_per_cell = fe.dofs_per_cell;  

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.