[Paraview] Writing binary files: C/Fortran interface to VTK XML
files.
SamuelKey
samuelkey at comcast.net
Thu Jun 2 19:09:19 EDT 2005
Greetings Mathieu;
I have accessed the VTK cvs repository as you
suggested for Giuseppe Gariup below.
I have been reviewing their content. I am planning
on using the Fortran calls to see if I can generate
acceptable (that is, readable) files for ParaView.
I did spot a typo that needs to be corrected:
At line 142 in file 'vtkXMLCInterface.cxx' the binding
void VTK_FORTRAN_NAME(vtkxml_setcelldata, VTKXML_SETPOINTDATA)
needs to be changed to
void VTK_FORTRAN_NAME(vtkxml_setcelldata, VTKXML_SETCELLDATA)
I will see if I can expand 'TestXMLCInterface.c' slightly for you.
I will work with Brian Wylie to get the neccessary object libs when I
think I am ready to test the Fortran Binding in my code Fma-3D.
Regards,
Sam Key
----- Original Message -----
From: "Mathieu Malaterre" <mathieu.malaterre at kitware.com>
To: "Giuseppe Gariup" <giuseppe.gariup at gmail.com>
Cc: "paraview" <paraview at paraview.org>
Sent: Monday, May 30, 2005 3:47 PM
Subject: Re: [Paraview] using binary files: C interface to VTK XML files
> Giuseppe Gariup wrote:
> > Hi everybody:
> > I am using paraview to display the output of a finite element
> > program. I need to write the xml file and I'd rather use the binary
> > format to input the points of the mesh. I am using C++. The question
> > is: I have a vector with the coordinates of the points and I have to
> > put it in the xml file. Has any of you faced a similar situation?
>
> Giuseppe,
>
> There is an ongoing effort to have both a C and fortran interface to
> write VTK XML files. This will require VTK CVS if you are interested,
> for more information, have a look at:
>
> VTK/IO/Testing/Cxx/
> TestXMLCInterface.c
> vtkFortran.h
> vtkXMLCInterface.cxx
> vtkXMLCInterface.h
>
>
> Please keep in mind that this was comited only today and might require
> a few iterations to stabilize.
>
> Comments very welcome
> Mathieu
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list