]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use make_flux_sparsity_pattern -- for some reason, this yields a sparsity pattern...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 21 May 2008 16:51:10 +0000 (16:51 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 21 May 2008 16:51:10 +0000 (16:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@16162 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-33/step-33.cc

index 1dfc8440c1d43e4da2bfe40ff4dcfd99efac79b2..d055cdf7250ab8f43004a3467ac34ed4f377f5d4 100644 (file)
@@ -1759,7 +1759,7 @@ void ConservationLaw<dim>::setup_system ()
                                   // row:
   CompressedSparsityPattern sparsity_pattern (dof_handler.n_dofs(),
                                              dof_handler.n_dofs());
-  DoFTools::make_sparsity_pattern (dof_handler, sparsity_pattern);
+  DoFTools::make_flux_sparsity_pattern (dof_handler, sparsity_pattern);
 
   ConstraintMatrix hanging_node_constraints;
   DoFTools::make_hanging_node_constraints (dof_handler,

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.