Hello-

I am wondering if there is a way to read in from a gmv file both the
solution and the mesh. (Had a run on lonestar that finished before writing
out to a solution and mesh file. Lesson learned... but, I only have the gmv
files and it would be nice to save those computation hours.)

In the online documentation of write_nodal_data, it looks like there is
something to do this, but I cannot find it. Perhaps I am mis-interpreting
it? But, as I copied below, it says  "Extension of the
MeshInput::read()<http://libmesh.sourceforge.net/doxygen/classMeshInput.php#9d70b68a1cf29ba6a123c9270aac0c07>routine
which also takes an optional
EquationSystems<http://libmesh.sourceforge.net/doxygen/classEquationSystems.php>pointer
and tries to read field variables from the
GMV <http://libmesh.sourceforge.net/doxygen/namespaceGMV.php> file into the
EquationSystems<http://libmesh.sourceforge.net/doxygen/classEquationSystems.php>object."
But it definitely looks like this routine is writing out data. I
looked at the GMVIO::read, but it did not seem to indicate an optional
EquationsSystems argument. Did I just miss it?

Thank you!
Andrea




void GMVIO::write_nodal_data ( const std::string &  *fname*,

const std::vector<
Number<http://libmesh.sourceforge.net/doxygen/libmesh__common_8h.php#93f2a4f0c19c6c284b678b9590b8119b>>
&
*soln*,

const std::vector< std::string > &  *names*
)

[virtual]

This method implements reading a mesh from a specified file. Extension of
the 
MeshInput::read()<http://libmesh.sourceforge.net/doxygen/classMeshInput.php#9d70b68a1cf29ba6a123c9270aac0c07>routine
which also takes an optional
EquationSystems<http://libmesh.sourceforge.net/doxygen/classEquationSystems.php>pointer
and tries to read field variables from the
GMV <http://libmesh.sourceforge.net/doxygen/namespaceGMV.php> file into the
EquationSystems<http://libmesh.sourceforge.net/doxygen/classEquationSystems.php>object.
This method implements writing a mesh with nodal data to a specified
file where the nodal data and variable names are provided.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to