Re: [deal.II] Problem with "constraints.distribute_local_to_global(local_rhs, local_dof_indices, system_rhs)"

2020-03-05 Thread Magdalini Ntetsika
t; Daniel > > Am Do., 5. März 2020 um 16:13 Uhr schrieb Magdalini Ntetsika < > ntet...@berkeley.edu >: > >> Hi Wolfgang, >> >> thank you for the prompt reply. I see, I'll look up both. But I have a >> quick question: what if I have periodic boundary condi

Re: [deal.II] Problem with "constraints.distribute_local_to_global(local_rhs, local_dof_indices, system_rhs)"

2020-03-05 Thread Magdalini Ntetsika
/20 9:24 AM, Magdalini Ntetsika wrote: > > > > but I don't seem to get the same *system_rhs *when > > *assemble_system=false* as when *assemble_system=true*. To be more > > specific, it seems that there is something wrong with how > > constraints.distribut

[deal.II] Problem with "constraints.distribute_local_to_global(local_rhs, local_dof_indices, system_rhs)"

2020-03-05 Thread Magdalini Ntetsika
Hi, I want to assemble my system matrix only once since it doesn't change throughout the time steps. For that my code is similar to step-57: if (assemble_matrix){ constraints.distribute_local_to_global(local_matrix, local_rhs, local_dof_indices, system_matrix, system_rhs); } else{ cons