On Jun 27, 2013, at 12:01 PM, Cody Permann <codyperm...@gmail.com> wrote:

>  This seems like a simple thing to implement for somebody familiar with the 
> layout.  Either John or myself could do this, but we might need a little 
> guidance.  Any help is appreciated.  

Yeah, we made some recent changes (8 months?) in the EquationSystems IO 
support, and it would be good to look there to see how the compatibility is 
handled.

The approach  I took, which is open to discussion, is to stamp the file with 
its version (as it is already done) and then increment the 

#ifndef LIBMESH_IO_COMPATIBILITY_VERSION
#define LIBMESH_IO_COMPATIBILITY_VERSION "0.7.4"
#endif

macro.  

The general approach is then that the data would always written, but 
conditionally read based on IO_COMPATIBILTY_VERSION.

e.g. bump the version to 0.9.3 and read the data if the version is >= to that.

But this is what has been done in the past, I'm open to process 
suggestions/improvements.

-Ben



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to