The function GridTools::find_active_cell_around_point
should do what you ask for. http://www.dealii.org/developer/doxygen/deal.II/classGridTools.html#aa4b56da0763f08676ba92f80cab491da Luca. -- Luca Heltai <[email protected]> http://people.sissa.it/~heltai/ Scuola Internazionale Superiore di Studi Avanzati Phone: +39 040 3787 449, Office: 732 -- There are no answers, only cross references On 10/dic/2010, at 16.17, Pietro Maximoff wrote: > Hi > > Is there a way to find the cell a point belongs to without having to iterate > over all active cells? > > Pietro > > > > _______________________________________________ > dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
