Thank you Danial for the explanation. I used the IndexSet::add_index() 
method and its seems to be working so far.

Reza

On Wednesday, July 10, 2019 at 8:42:51 PM UTC-7, Daniel Arndt wrote:
>
>
> [...]
>> It works in the serial case. However, it doesn't work when I use multiple 
>> MPI processes. For my actual mesh, it breaks when n_processes >= 5. 
>> Basically I have to make sure that dof 41 is included in the relevant dofs 
>> of all the processes. How to I do that? I think this type of constraint is 
>> different than a periodic boundary condition and I could not find a 
>> dedicated function that takes care of it.
>>
> No, there is no function for that. It would of course be pretty simple if 
> you just knew the value all these dofsshould be set to, but I assume that's 
> not the case.
>
> I didn't mean to say that you have to modify the locally relevant dofs, 
> i.e. the IndexSet you obtain from DoFtools::locally_relevant_dofs, but tha 
> tyou need to use an extended IndexSet in all the places you would normally 
> use that IndexSet.
> There is IndexSet::add_index that you can use to add entries to an 
> existing IndexSet object.
>
> 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/5ba8fc4b-3339-48b4-aa73-048e24e3c6b9%40googlegroups.com.

Reply via email to