Hi there, If the dynamic sparsity pattern is distributed to all the processes, should I expect to have the full sparsity pattern returned from the distribute_sparsity_pattern function? In other words, is the number of rows of dsp the local number of rows before the distribute function call and after the number of rows is the number of the rows for the full dsp matrix? This is how the documentation read to me but I am checking the number of rows before and after distribution ( using dsp.n_rows() )and they are the same.
On Monday, December 21, 2020 at 11:52:57 AM UTC-6 Zachary Streeter wrote: > Okay, that makes sense. > > The PETSc error I am getting is the sum of the local lengths (10200) is > larger than the global length (1020) so I think I need to just read the > documentation more because it looks like I am just not using the API > appropriately. > > Thank you, > Zachary > > On Monday, December 21, 2020 at 11:27:18 AM UTC-6 Wolfgang Bangerth wrote: > >> On 12/21/20 10:16 AM, Zachary Streeter wrote: >> > Sorry, I should say the relevant elements are the same as the locally >> owned. >> >> That's true for cells but not for degrees of freedom. There may be DoFs >> that >> are located on the faces between locally owned and ghost cells. These may >> be >> owned by the neighboring ghost cell and so they are "locally relevant" >> (relevant to the locally owned cells) but not locally owned. >> >> You may want to take a look at the corresponding entries in the glossary. >> >> Best >> W. >> >> -- >> ------------------------------------------------------------------------ >> Wolfgang Bangerth email: [email protected] >> 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/73026101-aa90-4d87-92a8-b330515a75a0n%40googlegroups.com.
