Hello all,

I have a question regarding use of constraints when using parallel 
programming.

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 


ConstraintMatrix constraints;
constraints.reinit(locally_relevant_dofs);
constraints.add_line(dof1);
constraints.add_entry(dof2); 

Q1. Should it only be called on one processor ? 

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

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

ConstraintMatrix constraints;
constraints.reinit(locally_relevant_dofs);
constraints.add_line(*dof2*);
constraints.add_entry(*dof1*);


If this is wrong, how should the constraint be applied ?

-- 
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