dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #13181
Re: TetrahedronCell::intersects
On Friday 24 April 2009 12:17:09 Mehdi Nikbakht wrote:
> Hello,
>
> Is there any plane to implement this member function?
>
> bool TetrahedronCell::intersects(const MeshEntity& entity, const Cell&
> cell) const
>
> I need it to determine neighboring cells related to a cell.
If you already have a cell, let say number 0 you can just ask the mesh for its
connections, using the topology object that follows each mesh.
cell_connections = mesh.topology()(3,3)
cell_neighbours = cell_connections(0)
Johan
> --
> Mehdi
>
>
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Follow ups
References