Thank you very much, Daniel!! I appreciate your help!

On Wed, Aug 21, 2019 at 11:40 PM Daniel Arndt <d.arndt.m...@gmail.com>
wrote:

> Yuesu,
>
>   I am learning step-7 which has the same class AffineConstraints class,
>> in step6, we use the member function ::distribute_local_to_global to put
>> the local matrix and rhs into global matrix and rhs, but in step-7, we
>> still use system_matrix.add and then use the constraint.condense on
>> system_matrix and system_rhs. Do those two procedure have the same effect?
>>
>
> You can find a discussion at
> https://www.dealii.org/9.0.1/doxygen/deal.II/group__constraints.html. In
> short: Yes, they have the same purpose, but different advantages and
> disadvantages. In general, we recommend using distribute_local_to_global
> over condensation.
>
> Best,
> Daniel
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/a9e938ad-06b6-49e1-9e99-91bafd4e8fc4%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/a9e938ad-06b6-49e1-9e99-91bafd4e8fc4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Yuesu Jin,
Ph.D student,
University of Houston,
College of Natural Sciences and Mathematics,
Department of Earth and Atmospheric Sciences,
Houston, Texas 77204-5008
346-404-2062

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CA%2B25a%3DL7FOL44QhmCKDKuWYwyN6Hd5Het9CaH7uZy%2B1RD%3DCnQQ%40mail.gmail.com.

Reply via email to