On Dec 11, 2012, at 3:24 PM, Roy Stogner <[email protected]> wrote:

> 
> On Tue, 11 Dec 2012, Ataollah Mesgarnejad wrote:
> 
>> I tried what you suggested, however when I check the NumericVector
>> type of my added vector (I add it as GHOSTED before read) after
>> EquationSystems::Read() it changes to parallel ?!!  ( I checked with
>> NumericVector::type() it was 3 before the read and 2 after)
> 
> Ah, that's right - with READ_HEADER turned on, we currently clear()
> each System before recreating everything in it based on the input
> file.
> 
> We should probably change that behavior to enable input file based
> "updates" of partially-constructed EquationSystems, but if you've got
> a fully-constructed EquationSystems then a workaround is just to take
> the READ_HEADER flag out of the flags you pass to
> EquationSystems::read().
Unfortunately it didn't work. 

If I remove READ_HEADER read will try to load a vector from another system to 
this system and fails because the number of DOFs are different. 

I even tried to remove WRITE_DATA when I'm writing the XDR file and then try to 
read without READ_DATA which didn't work either (everything=0) although it 
didn't cause any warnings or errors!!

Best,
Ata

> ---
> Roy


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to