// only work on cells that are either locally owned or at least ghost
// cells
if (cell->is_artificial() == false)
- for (const unsigned int face : GeometryInfo<dim>::face_indices())
+ for (const unsigned int face : cell->face_indices())
if (cell->at_boundary(face))
if (!check_boundary_id ||
(boundary_ids.find(cell->face(face)->boundary_id()) !=
// boundary line is also part of a boundary face which we will be
// visiting sooner or later
for (const auto &cell : dof_handler.active_cell_iterators())
- for (const unsigned int face : GeometryInfo<dim>::face_indices())
+ for (const unsigned int face : cell->face_indices())
if (cell->at_boundary(face))
if (!check_boundary_id ||
(boundary_ids.find(cell->face(face)->boundary_id()) !=
for (const auto &cell : dof_handler.active_cell_iterators())
if (!cell->is_artificial())
{
- for (const unsigned int face : GeometryInfo<dim>::face_indices())
+ for (const unsigned int face : cell->face_indices())
if (cell->face(face)->has_children())
{
const typename dealii::DoFHandler<dim,
for (const auto &cell : dof_handler.active_cell_iterators())
if (!cell->is_artificial())
- for (auto f : GeometryInfo<dim>::face_indices())
+ for (auto f : cell->face_indices())
{
const typename dealii::DoFHandler<dim, spacedim>::face_iterator
face = cell->face(f);
cell = dof_handler.begin_active(),
endc = dof_handler.end();
for (; cell != endc; ++cell)
- for (const unsigned int f : GeometryInfo<dim>::face_indices())
+ for (const unsigned int f : cell->face_indices())
if (cell->at_boundary(f))
{
const unsigned int dofs_per_face = cell->get_fe().dofs_per_face;
cell = dof_handler.begin_active(),
endc = dof_handler.end();
for (; cell != endc; ++cell)
- for (const unsigned int f : GeometryInfo<dim>::face_indices())
+ for (const unsigned int f : cell->face_indices())
if (boundary_ids.find(cell->face(f)->boundary_id()) !=
boundary_ids.end())
{
std::fill(exclude.begin(), exclude.end(), false);
const unsigned int dpf = fe.dofs_per_face;
- for (const unsigned int face : GeometryInfo<dim>::face_indices())
+ for (const unsigned int face : cell->face_indices())
if (cell->at_boundary(face) ||
cell->neighbor(face)->level() != cell->level())
for (unsigned int i = 0; i < dpf; ++i)
// Identify all vertices active on this level and remember some data
// about them
for (cell = dof_handler.begin(level); cell != endc; ++cell)
- for (const unsigned int v : GeometryInfo<dim>::vertex_indices())
+ for (const unsigned int v : cell->vertex_indices())
{
const unsigned int vg = cell->vertex_index(v);
vertex_dof_count[vg] += cell->get_fe().dofs_per_cell;
indices.resize(fe.dofs_per_cell);
cell->get_mg_dof_indices(indices);
- for (const unsigned int v : GeometryInfo<dim>::vertex_indices())
+ for (const unsigned int v : cell->vertex_indices())
{
const unsigned int vg = cell->vertex_index(v);
const unsigned int block = vertex_mapping[vg];
if (cell->is_artificial())
continue;
- for (const unsigned int face : GeometryInfo<dim>::face_indices())
+ for (const unsigned int face : cell->face_indices())
if (cell->face(face)->has_children())
{
// in any case, faces can have at most two active fe indices,
if (cell->is_artificial())
continue;
- for (const unsigned int face : GeometryInfo<dim>::face_indices())
+ for (const unsigned int face : cell->face_indices())
if (cell->face(face)->has_children())
{
// first of all, make sure that we treat a case which is
if (cell->is_artificial())
continue;
- for (const unsigned int face : GeometryInfo<dim>::face_indices())
+ for (const unsigned int face : cell->face_indices())
if (cell->face(face)->has_children())
{
// first of all, make sure that we treat a case which is
cell = dof.begin_active(),
endc = dof.end();
for (; cell != endc; ++cell)
- for (const unsigned int f : GeometryInfo<dim>::face_indices())
+ for (const unsigned int f : cell->face_indices())
if (cell->at_boundary(f))
{
const unsigned int dofs_per_face = cell->get_fe().dofs_per_face;
cell = dof.begin_active(),
endc = dof.end();
for (; cell != endc; ++cell)
- for (const unsigned int f : GeometryInfo<dim>::face_indices())
+ for (const unsigned int f : cell->face_indices())
if (boundary_ids.find(cell->face(f)->boundary_id()) !=
boundary_ids.end())
{
sparsity,
keep_constrained_dofs);
- for (const unsigned int face : GeometryInfo<dim>::face_indices())
+ for (const unsigned int face : cell->face_indices())
{
typename DoFHandler<dim, spacedim>::face_iterator cell_face =
cell->face(face);
keep_constrained_dofs,
bool_int_dof_mask);
// Loop over all interior neighbors
- for (const unsigned int face_n :
- GeometryInfo<dim>::face_indices())
+ for (const unsigned int face_n : cell->face_indices())
{
const typename DoFHandler<dim, spacedim>::face_iterator
cell_face = cell->face(face_n);
bool_int_and_flux_dof_mask[cell->active_fe_index()]);
// Loop over interior faces
- for (const unsigned int face :
- GeometryInfo<dim>::face_indices())
+ for (const unsigned int face : cell->face_indices())
{
const typename dealii::DoFHandler<dim,
spacedim>::face_iterator