You want `mesh._cellToCellIDs`.

This isn't a basic question at all. We don't encourage thinking about the 
discretized mesh and don't make it easy. _cellToCellIDs isn't documented 
anywhere as far as I can tell.

> On Jun 29, 2016, at 4:07 PM, James Pringle <[email protected]> wrote:
> 
> I have to find a group of contagious cells which match a certain criteria, 
> which involves values on the cell center. I can figure out which cell centers 
> meet the criteria. 
> 
> However, from the mesh2D variable, how do I figure out which cells are 
> contiguous to a given cell? Must I build a data structure from 
> variable.mesh.cellFaceIDs? Is not that connectivity stored somewhere?
> 
> I am sorry for what must be a very basic question, but I have been searching 
> for a while.
> 
> Thanks,
> Jamie Pringle
> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
>  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]


_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to