This makes the interface of FEValues::reinit consistent between Triangulation::cell_iterator and DoFHandler::cell_iterator.
* 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);
+ void reinit (const TriaIterator<DoFCellAccessor<DH,level_dof_access> > &cell);
/**
* Reinitialize the gradients, Jacobi determinants, etc for the given cell
* 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,
+ void reinit (const TriaIterator<DoFCellAccessor<DH,level_dof_access> > &cell,
const unsigned int face_no);
/**
* 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,
+ void reinit (const TriaIterator<DoFCellAccessor<DH,level_dof_access> > &cell,
const unsigned int face_no,
const unsigned int subface_no);
template <int dim, int spacedim>
template <class DH, bool lda>
void
-FEValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH, lda> > cell)
+FEValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH, lda> > &cell)
{
// assert that the finite elements
// passed to the constructor and
template <int dim, int spacedim>
template <class DH, bool lda>
void
-FEFaceValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH, lda> > cell,
+FEFaceValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH, lda> > &cell,
const unsigned int face_no)
{
// assert that the finite elements
template <int dim, int spacedim>
template <class DH, bool lda>
-void FESubfaceValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH, lda> > cell,
+void FESubfaceValues<dim,spacedim>::reinit (const TriaIterator<DoFCellAccessor<DH, lda> > &cell,
const unsigned int face_no,
const unsigned int subface_no)
{
#if (deal_II_space_dimension == DIM_A) || (deal_II_space_dimension == DIM_B)
template void FEValues<deal_II_dimension,deal_II_space_dimension>::reinit(
- TriaIterator<DoFCellAccessor<dof_handler<deal_II_dimension,deal_II_space_dimension>, lda> >);
+ const TriaIterator<DoFCellAccessor<dof_handler<deal_II_dimension,deal_II_space_dimension>, lda> >&);
template void FEFaceValues<deal_II_dimension,deal_II_space_dimension>::reinit(
- TriaIterator<DoFCellAccessor<dof_handler<deal_II_dimension,deal_II_space_dimension>, lda> >, unsigned int);
+ const TriaIterator<DoFCellAccessor<dof_handler<deal_II_dimension,deal_II_space_dimension>, lda> >&, unsigned int);
template void FESubfaceValues<deal_II_dimension,deal_II_space_dimension>::reinit(
- TriaIterator<DoFCellAccessor<dof_handler<deal_II_dimension,deal_II_space_dimension>, lda> >, unsigned int, unsigned int);
+ const TriaIterator<DoFCellAccessor<dof_handler<deal_II_dimension,deal_II_space_dimension>, lda> >&, unsigned int, unsigned int);
#endif
#endif
}