Re: [Libmesh-users] libmesh and vtk

2014-02-26 Thread Erich Gaertig
Am 26.02.2014 um 17:11 schrieb Kirk, Benjamin (JSC-EG311) : > On Feb 26, 2014, at 9:59 AM, John Peterson wrote: > >> This sounds like an interesting idea, but as you have discovered, VTKIO is >> pretty far away from being able to do that as it stands. >> >> At the very least, you might be abl

Re: [Libmesh-users] libmesh and vtk

2014-02-26 Thread Kirk, Benjamin (JSC-EG311)
On Feb 26, 2014, at 9:59 AM, John Peterson wrote: > This sounds like an interesting idea, but as you have discovered, VTKIO is > pretty far away from being able to do that as it stands. > > At the very least, you might be able to use it for inspiration to do what > you want... Agreed. An optio

Re: [Libmesh-users] libmesh and vtk

2014-02-26 Thread John Peterson
On Wed, Feb 26, 2014 at 8:53 AM, Erich Gaertig wrote: > If you, for example, want to visualize time-evolution, then after each > time step, I would write data out, read it in and display it. I want to > circumvent this cicle of writing/reading files to/from disk. This is why I > was hoping, that

[Libmesh-users] libmesh and vtk

2014-02-26 Thread Erich Gaertig
BTW - VTK reads Exodus files just fine if you would rather stick to a format that is a little more mature in libMesh Derek Hi Derek, but the problem is that, according to the ExodusII_IO documentation in libmesh, there's no way of getting pointer access to the exodus-datastructure. As far

Re: [Libmesh-users] libmesh and vtk

2014-02-26 Thread Derek Gaston
BTW - VTK reads Exodus files just fine if you would rather stick to a format that is a little more mature in libMesh Derek On Wed, Feb 26, 2014 at 5:17 AM, Roy Stogner wrote: > > On Wed, 26 Feb 2014, Erich Gaertig wrote: > > > vtkUnstructuredGrid *grid; > > grid = VTKIO (mesh).get_vtk_grid(

Re: [Libmesh-users] libmesh and vtk

2014-02-26 Thread Roy Stogner
On Wed, 26 Feb 2014, Erich Gaertig wrote: > vtkUnstructuredGrid *grid; > grid = VTKIO (mesh).get_vtk_grid(); This constructs a temporary VTKIO object, gets a pointer to a grid object from it, then *destructs the temporary*. If this code *didn't* give you a segfault it would mean we had a memory

[Libmesh-users] libmesh and vtk

2014-02-26 Thread Erich Gaertig
Hello, folks at libmesh; I have an issue with the libmesh integration of VTK output. Maybe it's trivial to solve and I just don't get it so I apologize already if my question is so simple... The problem is the following: I am writing a little visualization program with VTK which takes as input