# Declaration of ghost cells for rectilinear grid

**URL:** https://discourse.paraview.org/t/declaration-of-ghost-cells-for-rectilinear-grid/1585
**Category:** In Situ Support
**Created:** [April 2, 2019, 3:22pm UTC](https://discourse.paraview.org/t/declaration-of-ghost-cells-for-rectilinear-grid/1585 "2019-04-02T15:22:11Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [May 15, 2019, 3:12pm UTC](https://discourse.paraview.org/t/declaration-of-ghost-cells-for-rectilinear-grid/1585/8 "2019-05-15T15:12:02Z")

</div>

Hi Bastian.

Sorry it took me so long to look into this.  
This is caused by a [bug](https://gitlab.kitware.com/vtk/vtk/issues/17601) in the vtkXMLRectilinearGridReader.

The reader actually repartition your data and do not keep the data the way it was partitioned. However it keep the vtkGhostType array the way it was, resulting in the issue.

This bug should be fixed, but, you actually do not need to provide the ghost cells, as they are computed on the fly when ParaView need them !

So my advice would be to just not generate GhostCells at all !

---

_[View the full topic](https://discourse.paraview.org/t/declaration-of-ghost-cells-for-rectilinear-grid/1585)._
