* The DoF indices of the
* current cell
*/
- std::vector<unsigned int> indices;
+ std::vector<types::global_dof_index> indices;
/**
* The DoF indices on the
* current cell, organized by
* local blocks
*/
- std::vector<std::vector<unsigned int> > indices_by_block;
+ std::vector<std::vector<types::global_dof_index> > indices_by_block;
/**
* Constructor setting the
template <class DHCellIterator, class DHFaceIterator>
void reinit(const DHCellIterator& c,
const DHFaceIterator& f,
- const unsigned int n);
+ const unsigned int face_no);
/**
* Set the current subface
template <class DHCellIterator, class DHFaceIterator>
void reinit(const DHCellIterator& c,
const DHFaceIterator& f,
- const unsigned int n,
- const unsigned int s);
+ const unsigned int face_no,
+ const unsigned int subface_no);
/**
* Switch to a new face of the
*/
template <class DHFaceIterator>
void set_face (const DHFaceIterator& f,
- const unsigned int n);
+ const unsigned int face_no);
/**
* Switch to a new subface of the
* same cell. Does not change
*/
template <class DHFaceIterator>
void set_subface (const DHFaceIterator& f,
- const unsigned int n,
- const unsigned int s);
+ const unsigned int face_no,
+ const unsigned int subface_no);
const BlockIndices& local_indices() const;
void get_indices(const typename MGDoFHandler<dim, spacedim>::cell_iterator& c);
/// Auxiliary vector
- std::vector<unsigned int> indices_org;
+ std::vector<types::global_dof_index> indices_org;
/**
* An auxiliary local
inline void
DoFInfo<dim,spacedim,number>::set_face(
const DHFaceIterator& f,
- unsigned int n)
+ const unsigned int face_no)
{
face = static_cast<typename Triangulation<dim>::face_iterator> (f);
- face_number = n;
+ face_number = face_no;
sub_number = deal_II_numbers::invalid_unsigned_int;
}
DoFInfo<dim,spacedim,number>::reinit(
const DHCellIterator& c,
const DHFaceIterator& f,
- unsigned int n)
+ const unsigned int face_no)
{
if ((cell.state() != IteratorState::valid)
|| cell != static_cast<typename Triangulation<dim>::cell_iterator> (c))
get_indices(c);
cell = static_cast<typename Triangulation<dim>::cell_iterator> (c);
- set_face(f,n);
+ set_face(f, face_no);
if (block_info)
LocalResults<number>::reinit(block_info->local());
inline void
DoFInfo<dim,spacedim,number>::set_subface(
const DHFaceIterator& f,
- unsigned int n,
- unsigned int s)
+ const unsigned int face_no,
+ const unsigned int subface_no)
{
face = static_cast<typename Triangulation<dim>::face_iterator> (f);
- face_number = n;
- sub_number = s;
+ face_number = face_no;
+ sub_number = subface_no;
}
DoFInfo<dim,spacedim,number>::reinit(
const DHCellIterator& c,
const DHFaceIterator& f,
- unsigned int n,
- unsigned int s)
+ const unsigned int face_no,
+ const unsigned int subface_no)
{
if (cell.state() != IteratorState::valid
|| cell != static_cast<typename Triangulation<dim>::cell_iterator> (c))
get_indices(c);
cell = static_cast<typename Triangulation<dim>::cell_iterator> (c);
- set_subface(f,n,s);
+ set_subface(f, face_no, subface_no);
if (block_info)
LocalResults<number>::reinit(block_info->local());