-template <int dim, class SparsityPattern, template <int> class DH>
+template <class DH, class SparsityPattern>
void
DoFTools::make_sparsity_pattern (
- const DH<dim> &dof,
+ const DH &dof,
SparsityPattern &sparsity)
{
const unsigned int n_dofs = dof.n_dofs();
std::vector<unsigned int> dofs_on_this_cell;
dofs_on_this_cell.reserve (max_dofs_per_cell(dof));
- typename DH<dim>::active_cell_iterator cell = dof.begin_active(),
- endc = dof.end();
+ typename DH::active_cell_iterator cell = dof.begin_active(),
+ endc = dof.end();
for (; cell!=endc; ++cell)
{
const unsigned int dofs_per_cell = cell->get_fe().dofs_per_cell;
#if deal_II_dimension == 1
-template <class SparsityPattern, template <int> class DH>
+template <class DH, class SparsityPattern>
void
DoFTools::make_boundary_sparsity_pattern (
- const DH<1> &dof_handler,
- const FunctionMap<1>::type &function_map,
- const std::vector<unsigned int> &dof_to_boundary_mapping,
- SparsityPattern &sparsity)
+ const DH &dof_handler,
+ const typename FunctionMap<DH::dimension>::type &function_map,
+ const std::vector<unsigned int> &dof_to_boundary_mapping,
+ SparsityPattern &sparsity)
{
// first check left, the right
// boundary point
// find active cell at that
// boundary: first go to
// left/right, then to children
- typename DH<1>::cell_iterator cell = dof_handler.begin(0);
+ typename DH::cell_iterator cell = dof_handler.begin(0);
while (!cell->at_boundary(direction))
cell = cell->neighbor(direction);
while (!cell->active())
-template <class SparsityPattern, template <int> class DH>
+template <class DH, class SparsityPattern>
void DoFTools::make_boundary_sparsity_pattern (
- const DH<1> &dof_handler,
+ const DH &dof_handler,
const std::vector<unsigned int> &dof_to_boundary_mapping,
- SparsityPattern &sparsity)
+ SparsityPattern &sparsity)
{
// there are only 2 boundary
// indicators in 1d, so it is no
// performance problem to call the
// other function
- typename DH<1>::FunctionMap boundary_indicators;
+ typename DH::FunctionMap boundary_indicators;
boundary_indicators[0] = 0;
boundary_indicators[1] = 0;
- make_boundary_sparsity_pattern<SparsityPattern> (dof_handler,
- boundary_indicators,
- dof_to_boundary_mapping,
- sparsity);
+ make_boundary_sparsity_pattern<DH, SparsityPattern> (dof_handler,
+ boundary_indicators,
+ dof_to_boundary_mapping,
+ sparsity);
}
-#endif
+#else
-template <int dim, class SparsityPattern, template <int> class DH>
+template <class DH, class SparsityPattern>
void
DoFTools::make_boundary_sparsity_pattern (
- const DH<dim> &dof,
+ const DH &dof,
const std::vector<unsigned int> &dof_to_boundary_mapping,
- SparsityPattern &sparsity)
+ SparsityPattern &sparsity)
{
const unsigned int n_dofs = dof.n_dofs();
unsigned int max_element = 0;
for (std::vector<unsigned int>::const_iterator i=dof_to_boundary_mapping.begin();
i!=dof_to_boundary_mapping.end(); ++i)
- if ((*i != DH<dim>::invalid_dof_index) &&
+ if ((*i != DH::invalid_dof_index) &&
(*i > max_element))
max_element = *i;
Assert (max_element == sparsity.n_rows()-1,
// boundaries of dimension dim-2,
// and so every boundary line is
// also part of a boundary face.
- typename DH<dim>::active_face_iterator face = dof.begin_active_face(),
- endf = dof.end_face();
+ typename DH::active_face_iterator face = dof.begin_active_face(),
+ endf = dof.end_face();
for (; face!=endf; ++face)
if (face->at_boundary())
{
-template <int dim, class SparsityPattern, template <int> class DH>
+template <class DH, class SparsityPattern>
void DoFTools::make_boundary_sparsity_pattern (
- const DH<dim> &dof,
- const typename FunctionMap<dim>::type &boundary_indicators,
- const std::vector<unsigned int> &dof_to_boundary_mapping,
- SparsityPattern &sparsity)
+ const DH &dof,
+ const typename FunctionMap<DH::dimension>::type &boundary_indicators,
+ const std::vector<unsigned int> &dof_to_boundary_mapping,
+ SparsityPattern &sparsity)
{
const unsigned int n_dofs = dof.n_dofs();
Assert (dof_to_boundary_mapping.size() == n_dofs, ExcInternalError());
Assert (boundary_indicators.find(255) == boundary_indicators.end(),
- typename DoFHandler<dim>::ExcInvalidBoundaryIndicator());
+ typename DH::ExcInvalidBoundaryIndicator());
Assert (sparsity.n_rows() == dof.n_boundary_dofs (boundary_indicators),
ExcDimensionMismatch (sparsity.n_rows(), dof.n_boundary_dofs (boundary_indicators)));
Assert (sparsity.n_cols() == dof.n_boundary_dofs (boundary_indicators),
unsigned int max_element = 0;
for (std::vector<unsigned int>::const_iterator i=dof_to_boundary_mapping.begin();
i!=dof_to_boundary_mapping.end(); ++i)
- if ((*i != DH<dim>::invalid_dof_index) &&
+ if ((*i != DH::invalid_dof_index) &&
(*i > max_element))
max_element = *i;
Assert (max_element == sparsity.n_rows()-1,
std::vector<unsigned int> dofs_on_this_face;
dofs_on_this_face.reserve (max_dofs_per_face(dof));
- typename DH<dim>::active_face_iterator face = dof.begin_active_face(),
- endf = dof.end_face();
+ typename DH::active_face_iterator face = dof.begin_active_face(),
+ endf = dof.end_face();
for (; face!=endf; ++face)
if (boundary_indicators.find(face->boundary_indicator()) !=
boundary_indicators.end())
};
}
+#endif
+
+#if deal_II_dimension != 1
-template <int dim, class SparsityPattern, template <int> class DH>
+template <class DH, class SparsityPattern>
void
DoFTools::make_flux_sparsity_pattern (
- const DH<dim> &dof,
+ const DH &dof,
SparsityPattern &sparsity)
{
const unsigned int n_dofs = dof.n_dofs();
std::vector<unsigned int> dofs_on_other_cell;
dofs_on_this_cell.reserve (max_dofs_per_cell(dof));
dofs_on_other_cell.reserve (max_dofs_per_cell(dof));
- typename DH<dim>::active_cell_iterator cell = dof.begin_active(),
- endc = dof.end();
+ typename DH::active_cell_iterator cell = dof.begin_active(),
+ endc = dof.end();
// Clear user flags because we will
// need them. But first we save
// beginning of this function.
std::vector<bool> user_flags;
dof.get_tria().save_user_flags(user_flags);
- const_cast<Triangulation<dim> &>(dof.get_tria()).clear_user_flags ();
+ const_cast<Triangulation<DH::dimension> &>(dof.get_tria()).clear_user_flags ();
for (; cell!=endc; ++cell)
{
// Loop over all interior neighbors
for (unsigned int face = 0;
- face < GeometryInfo<dim>::faces_per_cell;
+ face < GeometryInfo<DH::dimension>::faces_per_cell;
++face)
{
- typename DH<dim>::face_iterator cell_face = cell->face(face);
+ typename DH::face_iterator cell_face = cell->face(face);
if (cell_face->user_flag_set ())
continue;
if (! cell->at_boundary (face) )
{
- typename DH<dim>::cell_iterator neighbor = cell->neighbor(face);
+ typename DH::cell_iterator neighbor = cell->neighbor(face);
// Refinement edges are
// taken care of by
// coarser cells
if (neighbor->has_children())
{
for (unsigned int sub_nr = 0;
- sub_nr != GeometryInfo<dim>::subfaces_per_face;
+ sub_nr != GeometryInfo<DH::dimension>::subfaces_per_face;
++sub_nr)
{
- const typename DH<dim>::cell_iterator
+ const typename DH::cell_iterator
sub_neighbor
= cell->neighbor_child_on_subface (face, sub_nr);
}
// finally restore the user flags
- const_cast<Triangulation<dim> &>(dof.get_tria()).load_user_flags(user_flags);
+ const_cast<Triangulation<DH::dimension> &>(dof.get_tria()).load_user_flags(user_flags);
}
+#else // deal_II_dimension == 1
-#if deal_II_dimension == 1
-template <class SparsityPattern, template <int> class DH>
+template <class DH, class SparsityPattern>
void
DoFTools::make_flux_sparsity_pattern (
- const DH<1> &dof,
- SparsityPattern &sparsity)
+ const DH &dof,
+ SparsityPattern &sparsity)
{
- typedef typename DH<1>::cell_iterator cell_iterator;
- typedef typename DH<1>::active_cell_iterator active_cell_iterator;
+ typedef typename DH::cell_iterator cell_iterator;
+ typedef typename DH::active_cell_iterator active_cell_iterator;
std::vector<unsigned int> local_dof_indices;
std::vector<unsigned int> neighbor_dof_indices;
};
}
-
#endif
const Table<2,Coupling>& flux_mask)
{
const unsigned int n_dofs = dof.n_dofs();
- const FiniteElement<dim>& fe = dof.get_fe();
+ const FiniteElement<dim> &fe = dof.get_fe();
const unsigned int n_comp = fe.n_components();
Assert (sparsity.n_rows() == n_dofs,
const Table<2,Coupling>& couplings, const Table<2,Coupling>& flux_couplings);
template void
-DoFTools::make_sparsity_pattern<deal_II_dimension,SparsityPattern,DoFHandler>
+DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,SparsityPattern>
(const DoFHandler<deal_II_dimension> &dof,
SparsityPattern &sparsity);
template void
-DoFTools::make_sparsity_pattern<deal_II_dimension,SparsityPattern,hp::DoFHandler>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- SparsityPattern &sparsity);
-
-template void
-DoFTools::make_sparsity_pattern<deal_II_dimension,CompressedSparsityPattern,DoFHandler>
+DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,CompressedSparsityPattern>
(const DoFHandler<deal_II_dimension> &dof,
CompressedSparsityPattern &sparsity);
template void
-DoFTools::make_sparsity_pattern<deal_II_dimension,CompressedSparsityPattern,hp::DoFHandler>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- CompressedSparsityPattern &sparsity);
-
-template void
-DoFTools::make_sparsity_pattern<deal_II_dimension,BlockSparsityPattern,DoFHandler>
+DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,BlockSparsityPattern>
(const DoFHandler<deal_II_dimension> &dof,
BlockSparsityPattern &sparsity);
template void
-DoFTools::make_sparsity_pattern<deal_II_dimension,BlockSparsityPattern,hp::DoFHandler>
-(const hp::DoFHandler<deal_II_dimension> &dof,
- BlockSparsityPattern &sparsity);
-
-template void
-DoFTools::make_sparsity_pattern<deal_II_dimension,CompressedBlockSparsityPattern,DoFHandler>
+DoFTools::make_sparsity_pattern<DoFHandler<deal_II_dimension>,CompressedBlockSparsityPattern>
(const DoFHandler<deal_II_dimension> &dof,
CompressedBlockSparsityPattern &sparsity);
+
+template void
+DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,SparsityPattern>
+(const hp::DoFHandler<deal_II_dimension> &dof,
+ SparsityPattern &sparsity);
+template void
+DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,CompressedSparsityPattern>
+(const hp::DoFHandler<deal_II_dimension> &dof,
+ CompressedSparsityPattern &sparsity);
+template void
+DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,BlockSparsityPattern>
+(const hp::DoFHandler<deal_II_dimension> &dof,
+ BlockSparsityPattern &sparsity);
template void
-DoFTools::make_sparsity_pattern<deal_II_dimension,CompressedBlockSparsityPattern,hp::DoFHandler>
+DoFTools::make_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,CompressedBlockSparsityPattern>
(const hp::DoFHandler<deal_II_dimension> &dof,
CompressedBlockSparsityPattern &sparsity);
template void
DoFTools::make_sparsity_pattern<deal_II_dimension,SparsityPattern>
(const DoFHandler<deal_II_dimension>&, const Table<2,Coupling>&, SparsityPattern&);
-
template void
DoFTools::make_sparsity_pattern<deal_II_dimension,CompressedSparsityPattern>
(const DoFHandler<deal_II_dimension>&, const Table<2,Coupling>&, CompressedSparsityPattern&);
-
template void
DoFTools::make_sparsity_pattern<deal_II_dimension,BlockSparsityPattern>
(const DoFHandler<deal_II_dimension>&, const Table<2,Coupling>&, BlockSparsityPattern&);
-
template void
DoFTools::make_sparsity_pattern<deal_II_dimension,CompressedBlockSparsityPattern>
(const DoFHandler<deal_II_dimension>&, const Table<2,Coupling>&, CompressedBlockSparsityPattern&);
-#if deal_II_dimension > 1
+// #if deal_II_dimension > 1
template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,SparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<DoFHandler<deal_II_dimension>,SparsityPattern>
(const DoFHandler<deal_II_dimension>& dof,
const std::vector<unsigned int> &,
SparsityPattern &);
template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,SparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
- const std::vector<unsigned int> &,
- SparsityPattern &);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,CompressedSparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<DoFHandler<deal_II_dimension>,CompressedSparsityPattern>
(const DoFHandler<deal_II_dimension>& dof,
const std::vector<unsigned int> &,
CompressedSparsityPattern &);
template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,CompressedSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
- const std::vector<unsigned int> &,
- CompressedSparsityPattern &);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,BlockSparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<DoFHandler<deal_II_dimension>,BlockSparsityPattern>
(const DoFHandler<deal_II_dimension>& dof,
const std::vector<unsigned int> &,
BlockSparsityPattern &);
template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,BlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
- const std::vector<unsigned int> &,
- BlockSparsityPattern &);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,CompressedBlockSparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<DoFHandler<deal_II_dimension>,CompressedBlockSparsityPattern>
(const DoFHandler<deal_II_dimension>& dof,
const std::vector<unsigned int> &,
CompressedBlockSparsityPattern &);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,CompressedBlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
- const std::vector<unsigned int> &,
- CompressedBlockSparsityPattern &);
-
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,SparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- const FunctionMap<deal_II_dimension>::type &boundary_indicators,
- const std::vector<unsigned int> &dof_to_boundary_mapping,
- SparsityPattern &sparsity);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,SparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
- const FunctionMap<deal_II_dimension>::type &boundary_indicators,
- const std::vector<unsigned int> &dof_to_boundary_mapping,
- SparsityPattern &sparsity);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,CompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- const FunctionMap<deal_II_dimension>::type &boundary_indicators,
- const std::vector<unsigned int> &dof_to_boundary_mapping,
- CompressedSparsityPattern &sparsity);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,CompressedSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
- const FunctionMap<deal_II_dimension>::type &boundary_indicators,
- const std::vector<unsigned int> &dof_to_boundary_mapping,
- CompressedSparsityPattern &sparsity);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- const FunctionMap<deal_II_dimension>::type &boundary_indicators,
- const std::vector<unsigned int> &dof_to_boundary_mapping,
- BlockSparsityPattern &sparsity);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,BlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
- const FunctionMap<deal_II_dimension>::type &boundary_indicators,
- const std::vector<unsigned int> &dof_to_boundary_mapping,
- BlockSparsityPattern &sparsity);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,CompressedBlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- const FunctionMap<deal_II_dimension>::type &boundary_indicators,
- const std::vector<unsigned int> &dof_to_boundary_mapping,
- CompressedBlockSparsityPattern &sparsity);
-template void
-DoFTools::make_boundary_sparsity_pattern<deal_II_dimension,CompressedBlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
- const FunctionMap<deal_II_dimension>::type &boundary_indicators,
- const std::vector<unsigned int> &dof_to_boundary_mapping,
- CompressedBlockSparsityPattern &sparsity);
-#endif
-#if deal_II_dimension == 1
template void
-DoFTools::make_boundary_sparsity_pattern<SparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- const std::vector<unsigned int> &,
- SparsityPattern &);
-template void
-DoFTools::make_boundary_sparsity_pattern<SparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,SparsityPattern>
(const hp::DoFHandler<deal_II_dimension>& dof,
const std::vector<unsigned int> &,
SparsityPattern &);
template void
-DoFTools::make_boundary_sparsity_pattern<CompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- const std::vector<unsigned int> &,
- CompressedSparsityPattern &);
-template void
-DoFTools::make_boundary_sparsity_pattern<CompressedSparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,CompressedSparsityPattern>
(const hp::DoFHandler<deal_II_dimension>& dof,
const std::vector<unsigned int> &,
CompressedSparsityPattern &);
template void
-DoFTools::make_boundary_sparsity_pattern<BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- const std::vector<unsigned int> &,
- BlockSparsityPattern &);
-template void
-DoFTools::make_boundary_sparsity_pattern<BlockSparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,BlockSparsityPattern>
(const hp::DoFHandler<deal_II_dimension>& dof,
const std::vector<unsigned int> &,
BlockSparsityPattern &);
template void
-DoFTools::make_boundary_sparsity_pattern<CompressedBlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- const std::vector<unsigned int> &,
- CompressedBlockSparsityPattern &);
-template void
-DoFTools::make_boundary_sparsity_pattern<CompressedBlockSparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,CompressedBlockSparsityPattern>
(const hp::DoFHandler<deal_II_dimension>& dof,
const std::vector<unsigned int> &,
CompressedBlockSparsityPattern &);
+
template void
-DoFTools::make_boundary_sparsity_pattern<SparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<DoFHandler<deal_II_dimension>,SparsityPattern>
(const DoFHandler<deal_II_dimension>& dof,
const FunctionMap<deal_II_dimension>::type &boundary_indicators,
const std::vector<unsigned int> &dof_to_boundary_mapping,
SparsityPattern &sparsity);
template void
-DoFTools::make_boundary_sparsity_pattern<SparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
+DoFTools::make_boundary_sparsity_pattern<DoFHandler<deal_II_dimension>,CompressedSparsityPattern>
+(const DoFHandler<deal_II_dimension>& dof,
const FunctionMap<deal_II_dimension>::type &boundary_indicators,
const std::vector<unsigned int> &dof_to_boundary_mapping,
- SparsityPattern &sparsity);
+ CompressedSparsityPattern &sparsity);
template void
-DoFTools::make_boundary_sparsity_pattern<CompressedSparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<DoFHandler<deal_II_dimension>,BlockSparsityPattern>
(const DoFHandler<deal_II_dimension>& dof,
const FunctionMap<deal_II_dimension>::type &boundary_indicators,
const std::vector<unsigned int> &dof_to_boundary_mapping,
- CompressedSparsityPattern &sparsity);
+ BlockSparsityPattern &sparsity);
template void
-DoFTools::make_boundary_sparsity_pattern<CompressedSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
+DoFTools::make_boundary_sparsity_pattern<DoFHandler<deal_II_dimension>,CompressedBlockSparsityPattern>
+(const DoFHandler<deal_II_dimension>& dof,
const FunctionMap<deal_II_dimension>::type &boundary_indicators,
const std::vector<unsigned int> &dof_to_boundary_mapping,
- CompressedSparsityPattern &sparsity);
+ CompressedBlockSparsityPattern &sparsity);
+
template void
-DoFTools::make_boundary_sparsity_pattern<BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
+DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,SparsityPattern>
+(const hp::DoFHandler<deal_II_dimension>& dof,
const FunctionMap<deal_II_dimension>::type &boundary_indicators,
const std::vector<unsigned int> &dof_to_boundary_mapping,
- BlockSparsityPattern &sparsity);
+ SparsityPattern &sparsity);
template void
-DoFTools::make_boundary_sparsity_pattern<BlockSparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,CompressedSparsityPattern>
(const hp::DoFHandler<deal_II_dimension>& dof,
const FunctionMap<deal_II_dimension>::type &boundary_indicators,
const std::vector<unsigned int> &dof_to_boundary_mapping,
- BlockSparsityPattern &sparsity);
+ CompressedSparsityPattern &sparsity);
template void
-DoFTools::make_boundary_sparsity_pattern<CompressedBlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
+DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,BlockSparsityPattern>
+(const hp::DoFHandler<deal_II_dimension>& dof,
const FunctionMap<deal_II_dimension>::type &boundary_indicators,
const std::vector<unsigned int> &dof_to_boundary_mapping,
- CompressedBlockSparsityPattern &sparsity);
+ BlockSparsityPattern &sparsity);
template void
-DoFTools::make_boundary_sparsity_pattern<CompressedBlockSparsityPattern>
+DoFTools::make_boundary_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,CompressedBlockSparsityPattern>
(const hp::DoFHandler<deal_II_dimension>& dof,
const FunctionMap<deal_II_dimension>::type &boundary_indicators,
const std::vector<unsigned int> &dof_to_boundary_mapping,
CompressedBlockSparsityPattern &sparsity);
-#endif
-#if deal_II_dimension > 1
-template void
-DoFTools::make_flux_sparsity_pattern<deal_II_dimension,SparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- SparsityPattern &sparsity);
template void
-DoFTools::make_flux_sparsity_pattern<deal_II_dimension,SparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
+DoFTools::make_flux_sparsity_pattern<DoFHandler<deal_II_dimension>,SparsityPattern>
+(const DoFHandler<deal_II_dimension> &dof,
SparsityPattern &sparsity);
template void
-DoFTools::make_flux_sparsity_pattern<deal_II_dimension,CompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- CompressedSparsityPattern &sparsity);
-template void
-DoFTools::make_flux_sparsity_pattern<deal_II_dimension,CompressedSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
+DoFTools::make_flux_sparsity_pattern<DoFHandler<deal_II_dimension>,CompressedSparsityPattern>
+(const DoFHandler<deal_II_dimension> &dof,
CompressedSparsityPattern &sparsity);
template void
-DoFTools::make_flux_sparsity_pattern<deal_II_dimension,BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- BlockSparsityPattern &sparsity);
-template void
-DoFTools::make_flux_sparsity_pattern<deal_II_dimension,BlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
+DoFTools::make_flux_sparsity_pattern<DoFHandler<deal_II_dimension>,BlockSparsityPattern>
+(const DoFHandler<deal_II_dimension> &dof,
BlockSparsityPattern &sparsity);
template void
-DoFTools::make_flux_sparsity_pattern<deal_II_dimension,CompressedBlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
- CompressedBlockSparsityPattern &sparsity);
-template void
-DoFTools::make_flux_sparsity_pattern<deal_II_dimension,CompressedBlockSparsityPattern>
-(const hp::DoFHandler<deal_II_dimension>& dof,
+DoFTools::make_flux_sparsity_pattern<DoFHandler<deal_II_dimension>,CompressedBlockSparsityPattern>
+(const DoFHandler<deal_II_dimension> &dof,
CompressedBlockSparsityPattern &sparsity);
-#else
-template void
-DoFTools::make_flux_sparsity_pattern<SparsityPattern>
-(const DoFHandler<1>& dof,
- SparsityPattern &sparsity);
+
template void
-DoFTools::make_flux_sparsity_pattern<SparsityPattern>
-(const hp::DoFHandler<1>& dof,
+DoFTools::make_flux_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,SparsityPattern>
+(const hp::DoFHandler<deal_II_dimension> &dof,
SparsityPattern &sparsity);
template void
-DoFTools::make_flux_sparsity_pattern<CompressedSparsityPattern>
-(const DoFHandler<1>& dof,
- CompressedSparsityPattern &sparsity);
-template void
-DoFTools::make_flux_sparsity_pattern<CompressedSparsityPattern>
-(const hp::DoFHandler<1>& dof,
+DoFTools::make_flux_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,CompressedSparsityPattern>
+(const hp::DoFHandler<deal_II_dimension> &dof,
CompressedSparsityPattern &sparsity);
template void
-DoFTools::make_flux_sparsity_pattern<BlockSparsityPattern>
-(const DoFHandler<1>& dof,
- BlockSparsityPattern &sparsity);
-template void
-DoFTools::make_flux_sparsity_pattern<BlockSparsityPattern>
-(const hp::DoFHandler<1>& dof,
+DoFTools::make_flux_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,BlockSparsityPattern>
+(const hp::DoFHandler<deal_II_dimension> &dof,
BlockSparsityPattern &sparsity);
template void
-DoFTools::make_flux_sparsity_pattern<CompressedBlockSparsityPattern>
-(const DoFHandler<1>& dof,
- CompressedBlockSparsityPattern &sparsity);
-template void
-DoFTools::make_flux_sparsity_pattern<CompressedBlockSparsityPattern>
-(const hp::DoFHandler<1>& dof,
+DoFTools::make_flux_sparsity_pattern<hp::DoFHandler<deal_II_dimension>,CompressedBlockSparsityPattern>
+(const hp::DoFHandler<deal_II_dimension> &dof,
CompressedBlockSparsityPattern &sparsity);
-#endif
+
#if deal_II_dimension > 1
template void
DoFTools::make_flux_sparsity_pattern<deal_II_dimension,SparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
+(const DoFHandler<deal_II_dimension> &dof,
SparsityPattern &,
const Table<2,Coupling>&,
const Table<2,Coupling>&);
template void
DoFTools::make_flux_sparsity_pattern<deal_II_dimension,CompressedSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
+(const DoFHandler<deal_II_dimension> &dof,
CompressedSparsityPattern &,
const Table<2,Coupling>&,
const Table<2,Coupling>&);
template void
DoFTools::make_flux_sparsity_pattern<deal_II_dimension,BlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
+(const DoFHandler<deal_II_dimension> &dof,
BlockSparsityPattern &,
const Table<2,Coupling>&,
const Table<2,Coupling>&);
template void
DoFTools::make_flux_sparsity_pattern<deal_II_dimension,CompressedBlockSparsityPattern>
-(const DoFHandler<deal_II_dimension>& dof,
+(const DoFHandler<deal_II_dimension> &dof,
CompressedBlockSparsityPattern &,
const Table<2,Coupling>&,
const Table<2,Coupling>&);