Very helpful. Thank you so much again.
Best,
Shahab
--
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"
Hi Shahab,
I think this problem does not come from the vertex_to_cell_map but from
the way you try to use it to find the neighbors. After calling
vertex_to_cell_map you do not need to call
GridTools::find_active_cell_around_point, because you already now the
cells a vertex belongs to. Try the
Hi Rene,
I have a problem in finding the list neighbor cells. This is the code I
wrote:
*
int iter3=0;
for (Triangulation<3>::active_cell_iterator cell = tr.begin_active(); cell
!= tr.end(); ++cell)
{
for (unsigned int v = 0; v < GeometryInfo<3>::vertices_per_cell;
Hi Rene,
Thank you very much for your answer, it was very helpful.
Best,
Shahab
On Tuesday, October 15, 2019 at 4:53:23 PM UTC-4, Rene Gassmöller wrote:
>
> Hi Shahab,
>
> Adding to Luca's reply you probably want to look into the
> `ParticleHandler` class, in particular the `particles_in_cell` fu
Hi Shahab,
Adding to Luca's reply you probably want to look into the `ParticleHandler`
class, in particular the `particles_in_cell` function that returns you all
particles in a given cell
(https://dealii.org/developer/doxygen/deal.II/classParticles_1_1ParticleHandler.html#acaf1232ffce0746baa641