Hello,
I'm having trouble resolving the following complier error:
error: ‘const class dealii::DoFCellAccessor<dealii::DoFHandler<3, 3>,
false>’ has no member named ‘vertex_indices’; did you mean ‘vertex_index’?
I don't understand the difference between the following code and the double
for-loop of step13::PointValueEvaluation::operator()
for (const auto &cell : dof_handler.active_cell_iterators())
{
// Loop over all vertices in the current cell.
for (const auto vertex : cell->vertex_indices()){
// Do some computation with the solution at the vertex.
Indeed, the documentation does not list a member function
"vertex_indices()" for the active cell iterator class. However, then I do
not understand why the above line works in step-13. Does it have anything
to do with my solution vector being a BlockVector<double> rather than
Vector<double>? Perhaps (maybe even likely) I have some misunderstanding of
what -> is doing. Later in the code the following line compiles just fine
even though vertex() is ALSO not a documented member function of the active
cell iterator class:
Point<3> currentVertex = cell->vertex(vertex);
I clearly have some grave misunderstanding I haven't been able to sort out
on my own with the documentation and examples. Can someone help me figure
out what is going on here?
Quick note: I'm aware that evaluation at the vertices is risky in the case
of DG methods, but I am using Q2 FEs.
Regards,
Kyle
--
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/bc2c80ba-8540-4ee2-aa2c-059ff0441aa5n%40googlegroups.com.