]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Generate a number of instantiations automatically using the pre-processor. This shoul...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 Jan 2009 04:25:14 +0000 (04:25 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 19 Jan 2009 04:25:14 +0000 (04:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@18247 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/dofs/dof_tools.cc
deal.II/deal.II/source/dofs/dof_tools.inst.in [new file with mode: 0644]

index 4237e0c605b6781e3447f7f6dc0a6efb1a639f31..94dbfaf7ea02d04f7362eb816fee6a82b07cdd4d 100644 (file)
@@ -5431,432 +5431,8 @@ DoFTools::make_zero_boundary_constraints (const DH<dim, spacedim> &dof,
 #endif
 
 // explicit instantiations
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               SparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof,
- SparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               CompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof,
- CompressedSparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               CompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof,
- CompressedSetSparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               CompressedSimpleSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof,
- CompressedSimpleSparsityPattern &sparsity,
- const ConstraintMatrix &,
- const bool);
-#ifdef DEAL_II_USE_TRILINOS
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               TrilinosWrappers::SparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof,
- TrilinosWrappers::SparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-#endif
-
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof,
- BlockSparsityPattern                &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockCompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof,
- BlockCompressedSparsityPattern      &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockCompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof,
- BlockCompressedSetSparsityPattern      &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockCompressedSimpleSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof,
- BlockCompressedSimpleSparsityPattern      &sparsity,
- const ConstraintMatrix &,
- const bool);
-#ifdef DEAL_II_USE_TRILINOS
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               TrilinosWrappers::BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof,
- TrilinosWrappers::BlockSparsityPattern                &sparsity,
- const ConstraintMatrix &,
- const bool);
-#endif
-
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               SparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- SparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               CompressedSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- CompressedSparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               CompressedSetSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- CompressedSetSparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               CompressedSimpleSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- CompressedSimpleSparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-#ifdef DEAL_II_USE_TRILINOS
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               TrilinosWrappers::SparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- TrilinosWrappers::SparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-#endif
-
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- BlockSparsityPattern                &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockCompressedSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- BlockCompressedSparsityPattern      &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockCompressedSetSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- BlockCompressedSetSparsityPattern      &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockCompressedSimpleSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- BlockCompressedSimpleSparsityPattern      &sparsity,
- const ConstraintMatrix &,
- const bool);
-#ifdef DEAL_II_USE_TRILINOS
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               TrilinosWrappers::BlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- TrilinosWrappers::BlockSparsityPattern  &sparsity,
- const ConstraintMatrix &,
- const bool);
-#endif
-
-
-
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               SparsityPattern>
-(const DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- SparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               CompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- CompressedSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               CompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- CompressedSetSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               CompressedSimpleSparsityPattern>
-(const DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- CompressedSimpleSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-#ifdef DEAL_II_USE_TRILINOS
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               TrilinosWrappers::SparsityPattern>
-(const DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- TrilinosWrappers::SparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-#endif
-
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- BlockSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockCompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- BlockCompressedSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockCompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- BlockCompressedSetSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockCompressedSimpleSparsityPattern>
-(const DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- BlockCompressedSimpleSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-#ifdef DEAL_II_USE_TRILINOS
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               TrilinosWrappers::BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- TrilinosWrappers::BlockSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-#endif
-
-template void 
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               SparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- SparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               CompressedSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- CompressedSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               CompressedSetSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- CompressedSetSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               CompressedSimpleSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- CompressedSimpleSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-#ifdef DEAL_II_USE_TRILINOS
-template void 
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               TrilinosWrappers::SparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- TrilinosWrappers::SparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-#endif
-
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- BlockSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockCompressedSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- BlockCompressedSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockCompressedSetSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- BlockCompressedSetSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockCompressedSimpleSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- BlockCompressedSimpleSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-#ifdef DEAL_II_USE_TRILINOS
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               TrilinosWrappers::BlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>&,
- const Table<2,Coupling>&,
- TrilinosWrappers::BlockSparsityPattern&,
- const ConstraintMatrix &,
- const bool);
-#endif
-
-
-
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               SparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof_row,
- const DoFHandler<deal_II_dimension> &dof_col,
- SparsityPattern    &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               CompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof_row,
- const DoFHandler<deal_II_dimension> &dof_col,
- CompressedSparsityPattern    &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               CompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof_row,
- const DoFHandler<deal_II_dimension> &dof_col,
- CompressedSetSparsityPattern    &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               CompressedSimpleSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof_row,
- const DoFHandler<deal_II_dimension> &dof_col,
- CompressedSimpleSparsityPattern    &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof_row,
- const DoFHandler<deal_II_dimension> &dof_col,
- BlockSparsityPattern                &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockCompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof_row,
- const DoFHandler<deal_II_dimension> &dof_col,
- BlockCompressedSparsityPattern      &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockCompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof_row,
- const DoFHandler<deal_II_dimension> &dof_col,
- BlockCompressedSetSparsityPattern      &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,
-                               BlockCompressedSimpleSparsityPattern>
-(const DoFHandler<deal_II_dimension> &dof_row,
- const DoFHandler<deal_II_dimension> &dof_col,
- BlockCompressedSimpleSparsityPattern      &sparsity);
 
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               SparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof_row,
- const hp::DoFHandler<deal_II_dimension> &dof_col,
- SparsityPattern    &sparsity);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               CompressedSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof_row,
- const hp::DoFHandler<deal_II_dimension> &dof_col,
- CompressedSparsityPattern    &sparsity);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               CompressedSetSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof_row,
- const hp::DoFHandler<deal_II_dimension> &dof_col,
- CompressedSetSparsityPattern    &sparsity);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               CompressedSimpleSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof_row,
- const hp::DoFHandler<deal_II_dimension> &dof_col,
- CompressedSimpleSparsityPattern    &sparsity);
-
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof_row,
- const hp::DoFHandler<deal_II_dimension> &dof_col,
- BlockSparsityPattern                &sparsity);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockCompressedSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof_row,
- const hp::DoFHandler<deal_II_dimension> &dof_col,
- BlockCompressedSparsityPattern      &sparsity);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                               BlockCompressedSetSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof_row,
- const hp::DoFHandler<deal_II_dimension> &dof_col,
- BlockCompressedSetSparsityPattern      &sparsity);
-template void
-DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,
-                BlockCompressedSimpleSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension> &dof_row,
- const hp::DoFHandler<deal_II_dimension> &dof_col,
- BlockCompressedSimpleSparsityPattern      &sparsity);
+#include "dof_tools.inst"
 
 // #if deal_II_dimension > 1
 template void
@@ -6160,20 +5736,6 @@ DoFTools::make_flux_sparsity_pattern<DoFHandler<deal_II_dimension>,BlockCompress
 #endif
 
 
-template
-void
-DoFTools::make_hanging_node_constraints (const DoFHandler<deal_II_dimension> &dof_handler,
-                                        ConstraintMatrix &constraints);
-template
-void
-DoFTools::make_hanging_node_constraints (const MGDoFHandler<deal_II_dimension> &dof_handler,
-                                        ConstraintMatrix &constraints);
-template
-void
-DoFTools::make_hanging_node_constraints (const hp::DoFHandler<deal_II_dimension> &dof_handler,
-                                        ConstraintMatrix &constraints);
-
-
 
 template
 void
@@ -6418,259 +5980,8 @@ DoFTools::make_zero_boundary_constraints
  ConstraintMatrix                    &,
  const std::vector<bool>             &);
 
-#if deal_II_dimension !=3
 
-// explicit instantiations
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               SparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
- SparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               CompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
- CompressedSparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               CompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
- CompressedSetSparsityPattern    &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
- BlockSparsityPattern                &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               BlockCompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
- BlockCompressedSparsityPattern      &sparsity,
- const ConstraintMatrix &,
- const bool);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               BlockCompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
- BlockCompressedSetSparsityPattern      &sparsity,
- const ConstraintMatrix &,
- const bool);
-
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             SparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
-//  SparsityPattern    &sparsity,
-//  const ConstraintMatrix &);
-
-
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             CompressedSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
-//  CompressedSparsityPattern    &sparsity,
-//  const ConstraintMatrix &);
-
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             CompressedSetSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
-//  CompressedSetSparsityPattern    &sparsity,
-//  const ConstraintMatrix &);
-
-
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             BlockSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
-//  BlockSparsityPattern                &sparsity,
-//  const ConstraintMatrix &);
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             BlockCompressedSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
-//  BlockCompressedSparsityPattern      &sparsity,
-//  const ConstraintMatrix &);
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             BlockCompressedSetSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
-//  BlockCompressedSetSparsityPattern      &sparsity,
-//  const ConstraintMatrix &);
-
-
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               SparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
- const Table<2,Coupling>&,
- SparsityPattern&,
- const ConstraintMatrix&,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               CompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
- const Table<2,Coupling>&,
- CompressedSparsityPattern&,
- const ConstraintMatrix&,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               CompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
- const Table<2,Coupling>&,
- CompressedSetSparsityPattern&,
- const ConstraintMatrix&,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
- const Table<2,Coupling>&,
- BlockSparsityPattern&,
- const ConstraintMatrix&,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               BlockCompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
- const Table<2,Coupling>&,
- BlockCompressedSparsityPattern&,
- const ConstraintMatrix&,
- const bool);
-template void 
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               BlockCompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
- const Table<2,Coupling>&,
- BlockCompressedSetSparsityPattern&,
- const ConstraintMatrix&,
- const bool);
-
-
-// template void 
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             SparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
-//  const Table<2,Coupling>&,
-//  SparsityPattern&);
-// template void 
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             CompressedSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
-//  const Table<2,Coupling>&,
-//  CompressedSparsityPattern&);
-// template void 
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             CompressedSetSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
-//  const Table<2,Coupling>&,
-//  CompressedSetSparsityPattern&);
-// template void 
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             BlockSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
-//  const Table<2,Coupling>&,
-//  BlockSparsityPattern&);
-// template void 
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             BlockCompressedSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
-//  const Table<2,Coupling>&,
-//  BlockCompressedSparsityPattern&);
-// template void 
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             BlockCompressedSetSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
-//  const Table<2,Coupling>&,
-//  BlockCompressedSetSparsityPattern&);
-
-
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               SparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
- const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
- SparsityPattern    &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               CompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
- const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
- CompressedSparsityPattern    &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               CompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
- const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
- CompressedSetSparsityPattern    &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
- const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
- BlockSparsityPattern                &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               BlockCompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
- const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
- BlockCompressedSparsityPattern      &sparsity);
-template void
-DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-                               BlockCompressedSetSparsityPattern>
-(const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
- const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
- BlockCompressedSetSparsityPattern      &sparsity);
-
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             SparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
-//  const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
-//  SparsityPattern    &sparsity);
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             CompressedSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
-//  const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
-//  CompressedSparsityPattern    &sparsity);
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             CompressedSetSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
-//  const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
-//  CompressedSetSparsityPattern    &sparsity);
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             BlockSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
-//  const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
-//  BlockSparsityPattern                &sparsity);
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             BlockCompressedSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
-//  const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
-//  BlockCompressedSparsityPattern      &sparsity);
-// template void
-// DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>,
-//                             BlockCompressedSetSparsityPattern>
-// (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
-//  const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
-//  BlockCompressedSetSparsityPattern      &sparsity);
-
-
-// #if deal_II_dimension > 1
+#if deal_II_dimension < 3
 template void
 DoFTools::make_boundary_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>,SparsityPattern>
 (const DoFHandler<deal_II_dimension,deal_II_dimension+1>& dof,
diff --git a/deal.II/deal.II/source/dofs/dof_tools.inst.in b/deal.II/deal.II/source/dofs/dof_tools.inst.in
new file mode 100644 (file)
index 0000000..ef65c48
--- /dev/null
@@ -0,0 +1,117 @@
+//---------------------------------------------------------------------------
+//    $Id: dof_accessor.cc 16656 2008-08-22 19:39:29Z bangerth $
+//    Version: $Name$
+//
+//    Copyright (C) 2009 by the deal.II authors
+//
+//    This file is subject to QPL and may not be  distributed
+//    without copyright and license information. Please refer
+//    to the file deal.II/doc/license.html for the  text  and
+//    further information on this license.
+//
+//---------------------------------------------------------------------------
+
+
+for (SP : SPARSITY_PATTERNS)
+  {
+    template void
+    DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension>, SP>
+    (const DoFHandler<deal_II_dimension,deal_II_dimension> &dof,
+     SP    &sparsity,
+     const ConstraintMatrix &,
+     const bool);
+
+    template void
+    DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension>, SP>
+    (const hp::DoFHandler<deal_II_dimension,deal_II_dimension> &dof,
+     SP    &sparsity,
+     const ConstraintMatrix &,
+     const bool);
+
+    template void 
+    DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension>, SP>
+    (const DoFHandler<deal_II_dimension,deal_II_dimension>&,
+     const Table<2,Coupling>&,
+     SP &,
+     const ConstraintMatrix &,
+     const bool);
+
+    template void 
+    DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension>, SP>
+    (const hp::DoFHandler<deal_II_dimension,deal_II_dimension>&,
+     const Table<2,Coupling>&,
+     SP &,
+     const ConstraintMatrix &,
+     const bool);
+
+    template void
+    DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension>, SP>
+    (const DoFHandler<deal_II_dimension,deal_II_dimension> &dof_row,
+     const DoFHandler<deal_II_dimension,deal_II_dimension> &dof_col,
+     SP    &sparsity);
+
+    template void
+    DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension>, SP>
+    (const hp::DoFHandler<deal_II_dimension,deal_II_dimension> &dof_row,
+     const hp::DoFHandler<deal_II_dimension,deal_II_dimension> &dof_col,
+     SP    &sparsity);
+  }
+
+for (SP : SPARSITY_PATTERNS)
+  {
+#if deal_II_dimension < 3
+
+    template void
+    DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>, SP>
+    (const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
+     SP    &sparsity,
+     const ConstraintMatrix &,
+     const bool);
+
+    template void
+    DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, SP>
+    (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof,
+     SP    &sparsity,
+     const ConstraintMatrix &,
+     const bool);
+
+    template void 
+    DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>, SP>
+    (const DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
+     const Table<2,Coupling>&,
+     SP &,
+     const ConstraintMatrix &,
+     const bool);
+
+    template void 
+    DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, SP>
+    (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>&,
+     const Table<2,Coupling>&,
+     SP &,
+     const ConstraintMatrix &,
+     const bool);
+
+    template void
+    DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension,deal_II_dimension+1>, SP>
+    (const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
+     const DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
+     SP    &sparsity);
+
+    template void
+    DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension,deal_II_dimension+1>, SP>
+    (const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_row,
+     const hp::DoFHandler<deal_II_dimension,deal_II_dimension+1> &dof_col,
+     SP    &sparsity);
+#endif
+  }
+
+
+
+
+for (DH : DOFHANDLERS)
+{
+  template
+  void
+  DoFTools::make_hanging_node_constraints (const DH &dof_handler,
+                                          ConstraintMatrix &constraints);
+}

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.