bastian
(Bastian)
August 22, 2020, 8:26am
2
I have spent quite some time trying to figure out live visualization with rectilinear grids over a year ago until I finally gave up running out of time.
These are my related topics which may be relevant here:
I’m trying to add cell data to a grid. This is what my FECxx.cxx looks like:
// Adaptor for getting Fortran simulation code into ParaView CoProcessor.
// CoProcessor specific headers
#include "vtkCPDataDescription.h"
#include "vtkCPInputDataDescription.h"
#include "vtkCPProcessor.h"
#include "vtkCPPythonScriptPipeline.h"
#include "vtkDoubleArray.h"
#include "vtkCellData.h"
#include "vtkSmartPointer.h"
#include "vtkRectilinearGrid.h"
// Fortran speci…
Hi Bastian.
Sorry it took me so long to look into this.
This is caused by a bug 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 !
and then there is this issue:
https://gitlab.kitware.com/paraview/paraview/-/issues/18911