The ex2 object is a reader, it won't have data in it. The ex2 object
should have a control that you can use to specify which arrays to
read/ignore from the file but that is different from what you are
asking for.
In any case when you update the reader it it will produce data, and
that you already
I have an Exodus II type file loaded into Paraview and trying to get the
point ID for a group of cells. I know for vtk type object there are
functions like GetCell(), GetPoint() and just wonder if there are such kind
of routines available for Exodus II files.
Best,
Ken
Thanks for your reply!
On Wed, Mar 23, 2011 at 3:32 PM, David Thompson dcth...@sandia.gov wrote:
Hi Ken,
I have an Exodus II type file loaded into Paraview and trying to get the
point ID for a group of cells. I know for vtk type object there are
functions like GetCell(), GetPoint()
I
I have an Exodus II type file loaded into Paraview and trying to
get the point ID for a group of cells. I know for vtk type object
there are functions like GetCell(), GetPoint()
I assume you're talking about using Python from ParaView?
Yup, that's exactly what I am doing here.
There
Thanks again, and I took a look on the programmable filter code. In my case
the block consists of more than 1 million tetrahedrons and it will be time
consuming to run iterations. Is there a way that I can export the cells and
their corresponding point information to a numpy array? The ultimate
Thanks again, and I took a look on the programmable filter code. In
my case the block consists of more than 1 million tetrahedrons and
it will be time consuming to run iterations. Is there a way that I
can export the cells and their corresponding point information to a
numpy array? The
Thanks David, I made a programmable filter and got it running. It works.
Now I have a new question, how to get a point_data array from a ex2 object?
For vtk object, I know I can fetch it to local, like
from paraview.simple import servermanager as sm
data=sm.Fetch(reader)
Then there is