dofs_per_line = accessor.get_fe().dofs_per_line,
dofs_per_cell = accessor.get_fe().dofs_per_cell;
- Assert (dof_indices.size() == dofs_per_cell,
+ Assert (local_dof_indices.size() == dofs_per_cell,
ExcInternalError());
unsigned int index = 0;
for (unsigned int vertex=0; vertex<2; ++vertex)
for (unsigned int d=0; d<dofs_per_vertex; ++d, ++index)
accessor.set_vertex_dof_index(vertex,d,
- dof_indices[index]);
+ local_dof_indices[index]);
for (unsigned int d=0; d<dofs_per_line; ++d, ++index)
- accessor.dof_index(d, dof_indices[index]);
+ accessor.dof_index(d, local_dof_indices[index]);
Assert (index == dofs_per_cell,
ExcInternalError());
dofs_per_hex = accessor.get_fe().dofs_per_hex,
dofs_per_cell = accessor.get_fe().dofs_per_cell;
- Assert (dof_indices.size() == dofs_per_cell,
+ Assert (local_dof_indices.size() == dofs_per_cell,
ExcInternalError());
unsigned int index = 0;
for (unsigned int vertex=0; vertex<8; ++vertex)
for (unsigned int d=0; d<dofs_per_vertex; ++d, ++index)
accessor.set_vertex_dof_index(vertex,d,
- dof_indices[index]);
+ local_dof_indices[index]);
// now copy dof numbers into the line. for
// lines with the wrong orientation, we have
// already made sure that we're ok by picking
accessor.line(line)->set_dof_index(accessor.dof_handler->get_fe().
adjust_line_dof_index_for_line_orientation(d,
accessor.line_orientation(line)),
- dof_indices[index]);
+ local_dof_indices[index]);
// now copy dof numbers into the face. for
// faces with the wrong orientation, we
// have already made sure that we're ok by
accessor.face_orientation(quad),
accessor.face_flip(quad),
accessor.face_rotation(quad)),
- dof_indices[index]);
+ local_dof_indices[index]);
for (unsigned int d=0; d<dofs_per_hex; ++d, ++index)
- accessor.set_dof_index(d, dof_indices[index]);
+ accessor.set_dof_index(d, local_dof_indices[index]);
Assert (index == dofs_per_cell,
ExcInternalError());
* DoFs which are constrained by
* hanging nodes, see @ref constraints.
*/
- types::global_dof_index n_dofs () const;
+ types::global_dof_index n_dofs () const;
/**
* The number of multilevel
* numbers::invalid_unsigned
* int independent of its argument.
*/
- types::global_dof_index int n_dofs(const unsigned int level) const;
+ types::global_dof_index n_dofs(const unsigned int level) const;
/**
* Return the number of degrees of freedom
template <int dim, int spacedim>
inline
- unsigned int
+ types::global_dof_index
DoFHandler<dim,spacedim>::n_dofs (const unsigned int) const
{
return numbers::invalid_unsigned_int;
template <int dim, int spacedim>
- unsigned int
+ types::global_dof_index
DoFHandler<dim, spacedim>::n_locally_owned_dofs() const
{
return number_cache.n_locally_owned_dofs;
template <int dim, int spacedim>
- const std::vector<unsigned int> &
+ const std::vector<types::global_dof_index> &
DoFHandler<dim, spacedim>::n_locally_owned_dofs_per_processor() const
{
return number_cache.n_locally_owned_dofs_per_processor;