Hello,
I'm compiling my program in 1d, and have trouble at boundaries. In
particular my loop to apply BCs:
for(unsigned int face=0; face<GeometryInfo<dim>::faces_per_cell; ++face)
if(cell->face(face)->at_boundary() &&
this->boundary_markers.count(cell->face(face)->boundary_indicator()))
{
// do something
}
doesn't work in 1d because:
error: 'struct dealii::InvalidAccessor<0, 1, 1>' has no member named
'boundary_indicator'
error: 'struct dealii::InvalidAccessor<0, 1, 1>' has no member named
'at_boundary'
although it seems to me that there is a quite logical continuation of
these functions to 1d. Step-15 suggests I manually search left and
right for the boundaries, which is a solution, but not very pretty.
Since dealii is mostly dimensional independent I suspect I must be
missing something. Can anyone help?
Best regards
Richard
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii