Dear Roy:

I don't sorry that I don't understand the second problem. To my knowledge,
if I use add_variable() to add the variables, these variables will add dofs,
right? If  I use add_vector() to add the vectors, I don't specify the
purpose of the vectors and they don't add dofs, right? Now, I want to copy
the solution (variables) to the vectors(added by add_vector()), why do I
need to create the local vector? why not just use the vectors added by
add_vector()? it doesn't work? thanks a lot.

Regards,
Yujie

>
>
>
>  In addition, In the same LinearImplicitSystem, the vectors added by
>> add_vector() have similar characteristics with the variable added by
>> add_variable(), such as parallel distribution, same Dofs? thanks a lot.
>>
>
> Every vector added to a system has dofs for every variable in that system.
>  All
> vectors have the same indexing and the same parallel distribution.  (In
> particular they're all parallelized like solution, and if you want ghost
> dof
> coefficients you'll need to create a local vector to hold them)
> ---
> Roy
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to