Thank you, that solves my problem! I can get correct results now.

2012/8/26 Roy Stogner <[email protected]>:
>
> On Sun, 26 Aug 2012, 蔡园武 wrote:
>
>> I tried 'ghosted', but still got the same error. U11 only contains
>> local dofs, but I want U11 contains all dofs.
>
>
> Sorry - I just assumed you would only want to access DoFs on ghosted
> elements.  If you want all DoFs, you'll want to create a parallel
> (default) vector just as you were doing originally, but then create a
> serial NumericVector (not attached to the system) and do a
> U11.localize(serial_U11) to copy the former to the latter.
>
>
>> Anything else I'm missing?
>
>
> Just that this is probably a bad idea for memory use and runtime
> scalability.
> ---
> Roy



-- 
Cai Yuanwu  蔡园武
Dept. of Engineering Mechanics,
Dalian University of Technology,
Dalian 116024, China

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to