Thanks for the feedback. What about if I build A to have as many rows as A and B and then later on use MatGetRow and MatSetValues to add B matrix entries to A? Can MatGetRow and MatSetValues be used after MatAssembly is called? B is much much smaller than A so the number of rows can be added to just the portion of A on one process. Will this work? Thanks. Regards.
On Mon, Aug 31, 2020 at 11:00 PM Jed Brown <[email protected]> wrote: > Karl Lin <[email protected]> writes: > > > I guess another way to look at this is if I already build matrix A and > > MatAssembly has been called. Can I populate more rows to matrix A later > on? > > With the number of columns and column ownership pattern not changed of > > course. Thank you. > > No. >
