# Discover the index of cell

**URL:** https://discourse.paraview.org/t/discover-the-index-of-cell/1415
**Category:** ParaView Support
**Created:** [March 7, 2019, 4:27pm UTC](https://discourse.paraview.org/t/discover-the-index-of-cell/1415 "2019-03-07T16:27:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [March 7, 2019, 4:27pm UTC](https://discourse.paraview.org/t/discover-the-index-of-cell/1415/1 "2019-03-07T16:27:43Z")

</div>

Hi everybody , I have this problem :  
Inside a cubic flow domain of 256x256x256 cell I have a polymer molecule represented by 5 points (representing the monomer) close to each other the distance is usually much more smaller than one cell. How can I know the index I,j,k of the cell ?? in order to create a subset of cell using the index around the macromolecule ?  
Thanks in advance for your support

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [March 7, 2019, 4:59pm UTC](https://discourse.paraview.org/t/discover-the-index-of-cell/1415/2 "2019-03-07T16:59:35Z")

</div>

Probably the easiest way is to find the location through the `Find Data` dialog.

1. Get the location of the polymer molecule using the `Information` tab.
2. Once you know the X, Y, Z location in physical space, open the `Find Data` ![pqFindData32](https://discourse.paraview.org/uploads/default/original/2X/5/5baae40b3515f4a241b5539e984e39fb49937f26.png) dialog.
3. In the first line of combo boxes in the `Find Data` dialog, set the first combo box (`Find`) to `Cell(s)` and the second combo box (`from`) to the cubic flow domain.
4. In the second line, set the first combo box to `Cell` and the second combo box to `contains`. Set the remaining 3 edit boxes to the X, Y, and Z location you found in the first step.
5. Click the `Run Selection Query` button.
6. In the spreadsheet widget below the button you can get information about the cell that contains that location including the cell’s ID.

---

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [March 8, 2019, 7:11pm UTC](https://discourse.paraview.org/t/discover-the-index-of-cell/1415/3 "2019-03-08T19:11:39Z")

</div>

ok I found the cell ID but then I need to find the I,J,K index of such cell … in order to create a sub set around the polymer … how can I Do ?
