* into the block list which are selected. This allows for instance
* the exclusion of components or of dofs on the boundary.
*/
- template <int dim, int spacedim=dim>
+ template <int dim, int spacedim>
void make_cell_patches(SparsityPattern &block_list,
const DoFHandler<dim,spacedim> &dof_handler,
const unsigned int level,
const std::vector<bool> &selected_dofs = std::vector<bool>(),
- types::global_dof_index offset = 0);
+ const types::global_dof_index offset = 0);
/**
* Create an incidence matrix that for every vertex on a given level of a
- template <typename DoFHandlerType>
- void make_cell_patches(SparsityPattern &block_list,
- const DoFHandlerType &dof_handler,
- const unsigned int level,
- const std::vector<bool> &selected_dofs,
- types::global_dof_index offset)
+ template <int dim, int spacedim>
+ void make_cell_patches(SparsityPattern &block_list,
+ const DoFHandler<dim,spacedim> &dof_handler,
+ const unsigned int level,
+ const std::vector<bool> &selected_dofs,
+ const types::global_dof_index offset)
{
- typename DoFHandlerType::level_cell_iterator cell;
- typename DoFHandlerType::level_cell_iterator endc = dof_handler.end(level);
+ typename DoFHandler<dim,spacedim>::level_cell_iterator cell;
+ typename DoFHandler<dim,spacedim>::level_cell_iterator endc = dof_handler.end(level);
std::vector<types::global_dof_index> indices;
unsigned int i=0;
IndexSet & dof_set);
#endif
- template void
- DoFTools::make_cell_patches<DoFHandler<deal_II_dimension> >
- (SparsityPattern&, const DoFHandler<deal_II_dimension>&, const unsigned int, const std::vector<bool>&, types::global_dof_index);
-
template
std::vector<unsigned int>
DoFTools::make_vertex_patches (SparsityPattern&, const DoFHandler<deal_II_dimension>&,
const BlockMask &,
std::vector<bool>&);
+ template
+ void
+ make_cell_patches<deal_II_dimension,deal_II_space_dimension>
+ (SparsityPattern&,
+ const DoFHandler<deal_II_dimension, deal_II_space_dimension>&,
+ const unsigned int, const std::vector<bool>&,
+ const types::global_dof_index);
+
\}
#endif
}