]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use even less memory in ProblemBase (let's see whether this works...)
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 15 May 1998 17:10:08 +0000 (17:10 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 15 May 1998 17:10:08 +0000 (17:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@289 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/base.cc

index 13b5f823f31b11da4a9b44a1a27169525f348b13..6f28164669f2067210ff2d361eb72ea559506cef 100644 (file)
@@ -59,10 +59,10 @@ template <int dim>
 void ProblemBase<dim>::clear () {
   tria        = 0;
   dof_handler = 0;
-  system_sparsity.reinit (1,1,1);
+  system_sparsity.reinit (0,0,0);
   system_matrix.clear ();
-  right_hand_side.reinit (1);
-  solution.reinit (1);
+  right_hand_side.reinit (0);
+  solution.reinit (0);
   constraints.clear ();
 };
 

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.