]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make function dimension independent.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 4 Dec 1999 15:10:59 +0000 (15:10 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 4 Dec 1999 15:10:59 +0000 (15:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@1978 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc

index 7d9fb336d6c30bba8dd0fdf0ac6369b087c349fb..a534d11259624e8466d6db911a48f96f695638cb 100644 (file)
@@ -202,19 +202,6 @@ void DoFTools::make_boundary_sparsity_pattern (const DoFHandler<dim>& dof,
 
 
 
-#if deal_II_dimension == 1
-
-//TODO: Implement make_flux_sparsity_pattern in 1D ?
-template <>
-void
-DoFTools::make_flux_sparsity_pattern (const DoFHandler<1>&,
-                                     SparseMatrixStruct &)
-{
-  Assert(false, ExcNotImplemented());
-}
-
-#else
-
 //TODO: Check this function for potential of optimization. (G)
 
 template<int dim>
@@ -268,7 +255,7 @@ DoFTools::make_flux_sparsity_pattern (const DoFHandler<dim>& dof,
     }
 }
 
-#endif
+
 
 template<int dim>
 void

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.