Erik,
you might want to have a look at
https://groups.google.com/d/msg/dealii/wG6aJdXHweA/IcsUjxj5dFsJ
Basically, I would loop through all the neighbors recursively only
considering cells that have a vertex with the face you are looking for in
common.
You can access the DoFs on faces just as for cells via
std::vector<types::global_dof_index> dof_indices(fe.dofs_per_face);
for (; cell != endc; ++cell)
if (!cell->is_artificial())
for (unsigned int face=0; face<GeometryInfo<dim>::faces_per_cell;
++face)
[...]
cell->face(face)->get_dof_indices(dof_indices);
[...]
Maybe also look into step-42 for accessing DoFs on faces.
Best,
Daniel
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.