Suppose I want to constraint dof1 owned by processor 1 to be equal to dof2
owned by processor 2.


I can do that by calling


|
ConstraintMatrixconstraints;
constraints.reinit(locally_relevant_dofs);
constraints.add_line(dof1);
constraints.add_entry(dof2);
|

Q1. Should it only be called on one processor ?

If one of dof1 or dof2 are among the locally relevant ones (i.e., on active or ghost cells), then both processors need to know about this constraint.

Q2. My question is, what happens when this is called on both the processors
(processor 1 and processor 2) ?

Nothing bad. In fact, both need to know about it.


Q3. What happens when the processor 2 calls the same thing but in the other
order ?

Bad things. Don't do it :-)

Best
 Wolfgang

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to