* associated with this object. It is assumed that the finite element used
* by the given cell is also the one used by this FEValues object.
*/
- template <class DH, bool level_dof_access>
- void reinit (const TriaIterator<DoFCellAccessor<DH,level_dof_access> > &cell);
+ template <template <int,int> class DH, bool level_dof_access>
+ void reinit (const TriaIterator<DoFCellAccessor<DH<dim,spacedim>,level_dof_access> > &cell);
/**
* Reinitialize the gradients, Jacobi determinants, etc for the given cell
* Reinitialize the gradients, Jacobi determinants, etc for the face with
* number @p face_no of @p cell and the given finite element.
*/
- template <class DH, bool level_dof_access>
- void reinit (const TriaIterator<DoFCellAccessor<DH,level_dof_access> > &cell,
+ template <template <int,int> class DH, bool level_dof_access>
+ void reinit (const TriaIterator<DoFCellAccessor<DH<dim,spacedim>,level_dof_access> > &cell,
const unsigned int face_no);
/**
* associated with this object. It is assumed that the finite element used
* by the given cell is also the one used by this FESubfaceValues object.
*/
- template <class DH, bool level_dof_access>
- void reinit (const TriaIterator<DoFCellAccessor<DH,level_dof_access> > &cell,
+ template <template <int,int> class DH, bool level_dof_access>
+ void reinit (const TriaIterator<DoFCellAccessor<DH<dim,spacedim>,level_dof_access> > &cell,
const unsigned int face_no,
const unsigned int subface_no);
template <int dim, int spacedim>
-template <class DH, bool lda>
+template <template <int,int> class DH, bool lda>
void
-FEValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH, lda> > &cell)
+FEValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH<dim,spacedim>, lda> > &cell)
{
// assert that the finite elements
// passed to the constructor and
this->maybe_invalidate_previous_present_cell (cell);
this->check_cell_similarity(cell);
- reset_pointer_in_place_if_possible<typename FEValuesBase<dim,spacedim>::template CellIterator<TriaIterator<DoFCellAccessor<DH, lda> > > >
+ reset_pointer_in_place_if_possible<typename FEValuesBase<dim,spacedim>::template CellIterator<TriaIterator<DoFCellAccessor<DH<dim,spacedim>, lda> > > >
(this->present_cell, cell);
// this was the part of the work
template <int dim, int spacedim>
-template <class DH, bool lda>
+template <template <int,int> class DH, bool lda>
void
-FEFaceValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH, lda> > &cell,
+FEFaceValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH<dim,spacedim>, lda> > &cell,
const unsigned int face_no)
{
// assert that the finite elements
ExcIndexRange (face_no, 0, GeometryInfo<dim>::faces_per_cell));
this->maybe_invalidate_previous_present_cell (cell);
- reset_pointer_in_place_if_possible<typename FEValuesBase<dim,spacedim>::template CellIterator<TriaIterator<DoFCellAccessor<DH, lda> > > >
+ reset_pointer_in_place_if_possible<typename FEValuesBase<dim,spacedim>::template CellIterator<TriaIterator<DoFCellAccessor<DH<dim,spacedim>, lda> > > >
(this->present_cell, cell);
// this was the part of the work
template <int dim, int spacedim>
-template <class DH, bool lda>
-void FESubfaceValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH, lda> > &cell,
+template <template <int,int> class DH, bool lda>
+void FESubfaceValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH<dim,spacedim>, lda> > &cell,
const unsigned int face_no,
const unsigned int subface_no)
{
"instead in these cases."));
this->maybe_invalidate_previous_present_cell (cell);
- reset_pointer_in_place_if_possible<typename FEValuesBase<dim,spacedim>::template CellIterator<TriaIterator<DoFCellAccessor<DH, lda> > > >
+ reset_pointer_in_place_if_possible<typename FEValuesBase<dim,spacedim>::template CellIterator<TriaIterator<DoFCellAccessor<DH<dim,spacedim>, lda> > > >
(this->present_cell, cell);
// this was the part of the work