Get DoFHandler::cell_iterator from Triangulation::cell_iterator

37 views
Skip to first unread message

Lucas Myers

unread,
Feb 2, 2023, 4:53:07 PM2/2/23
to deal.II User Group
Hi everyone,

I'm trying to use the `distributed_compute_point_locations` functions to compute a finite element function's values at specific points. However, the cells that this function returns are of type Triangulation::cell_iterator, and in order to use the `FEValues::get_function_values` function I need to call `reinit` with a cell that is of type `DoFHandler::cell_iterator`. I have a DoFHandler handy and it's linked with the Triangulation, but is there any easy way to use those combination of things to get the corresponding `DoFHandler::cell_iterator`?

- Lucas

Lucas Myers

unread,
Feb 2, 2023, 5:23:50 PM2/2/23
to deal.II User Group
Reply all
Reply to author
Forward
0 new messages