[Paraview] Finding cell coordinates in Python

Moreland, Kenneth kmorel at sandia.gov
Sat Jun 18 12:41:59 EDT 2016


Cells in CTH take up some amount of volume (in 3D), meaning that there is no single [X,Y,Z] coordinate to give. Perhaps your user is looking for the [X,Y,Z] at the center of the cell, in which case the Cell Centers filter will do just that.

-Ken

From: ParaView <paraview-bounces at paraview.org> on behalf of Walter Scott <wascott at sandia.gov>
Date: Friday, June 17, 2016 at 4:24 PM
To: "paraview at paraview.org" <paraview at paraview.org>
Subject: [EXTERNAL] [Paraview] Finding cell coordinates in Python

From a user:

We have been successful at implementing python scripts and routines to analyze much of our data, but we would like for the ability to obtain the [X,Y,Z] coordinates for each cell. Is there currently a way to do this? This is CTH AMR data.

Thanks,

Alan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160618/53d311f6/attachment.html>


More information about the ParaView mailing list