[petsc-users] BDDC assembly question

Hoang Giang Bui hgbk2008 at gmail.com
Sun Jun 4 17:51:57 CDT 2017


Hello

I obtained two different matrices when assembling with MATIS and MATMPIAIJ.
With MATIS I used MatISSetPreallocation to allocate
and MatSetLocalToGlobalMapping to provide the mapping. However I still used
MatSetValues and MatAssemblyBegin/End with MATIS. Is it the correct way to
do so? In case that BDDC required assembling the matrix using local index,
is there a way to assemble using global index to keep the same assembly
interface as MATMPIAIJ?

Thanks
Giang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170605/643b2c52/attachment.html>


More information about the petsc-users mailing list