From: wolf Date: Sat, 4 Dec 1999 15:10:59 +0000 (+0000) Subject: Make function dimension independent. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d07fe4eb63ff3f7309eb44894bac64336a3eefee;p=dealii-svn.git Make function dimension independent. git-svn-id: https://svn.dealii.org/trunk@1978 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index 7d9fb336d6..a534d11259 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -202,19 +202,6 @@ void DoFTools::make_boundary_sparsity_pattern (const DoFHandler& 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 @@ -268,7 +255,7 @@ DoFTools::make_flux_sparsity_pattern (const DoFHandler& dof, } } -#endif + template void