Thank you, that solves my problem! I can get correct results now.
2012/8/26 Roy Stogner :
>
> 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 t
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) vec
Hi, Roy,
Thank you for your answer!
I tried 'ghosted', but still got the same error. U11 only contains
local dofs, but I want U11 contains all dofs.
Anything else I'm missing?
2012/8/26 Roy Stogner :
>
> On Sun, 26 Aug 2012, 蔡园武 wrote:
>
>> I tried to use parallel in my code, but got error. I tra
On Sun, 26 Aug 2012, 蔡园武 wrote:
I tried to use parallel in my code, but got error. I traced my code and
found where the error is:
I defined vector using:
NumericVector < Number > &U11 = system.add_vector("U11");
and init it:
U11.init(system.n_dofs(), system.n_local_dofs());
After solve, I