Dear all,

the mentioned function is exactly doing the right thing for me, i.e. 
returning an vector of iterators to all cells, which share this vertex. 
After calling this function I will loop over these cells and compute 
certain things ...

My problem is that I have to work with two different dof_handlers and also 
need some quantities from FEValues of both DoF_Handlers on my neighbor 
cells. So far I handled this like this:

auto cells_ref = GridTools::find_cells_adjacent_to_vertex(dof_handler_ref, 
/*vertex*/);
auto cells_tmp = GridTools::find_cells_adjacent_to_vertex(dof_handler_tmp, 
/*vertex*/); 

I am not sure how "expensive" this function actually is. I have to call 
this function for all vertices of my triangulation, so currently I call it 
"2*n_vertices()" times.

I´d like to call this function only once for a given vertex, i.e. 
"n_vertices()"times.
Is there a way to realize this in combination with two different 
dof_handlers?

Thanks for helping!

Best
Simon


-- 
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/4de4a651-1092-47cc-9a72-b077a9e7169an%40googlegroups.com.

Reply via email to