On 3/7/21 10:16 PM, Nikki Holtzer wrote:
Thank you for your input! That was my first attempt at tackling this. However,
I run into problems with the line
for(const auto & face : cell-> face_iterators()).
No matter what member function I choose off of the DoFCellAccessor class
template reference, I get some version of the following:
class dealii::DoFCellAccessor<dealii::DoFHandler<1, 1>, false>’ has no member
named ‘face_iterators’; did you mean ‘face_iterator’?
I'm pretty sure that function should exist. What deal.II version are you using?
But, if that doesn't work, you can always do this instead
```
for(const auto & cell : triangulation.active_cell_iterators())
for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell; ++f)
{
const auto face = cell->face(f);
if(face->at_boundary() && face->boundary_id() == 1)
// do something useful
}
```
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/64471cba-016b-9b98-5844-4ecf28ffd395%40colostate.edu.