Dear Petsc team,

In order to create a parallel matrix and solve by KSP, is it possible to
directly use MatSetValues() in runtime when each matrix entry is just
created  without MatMPIAIJSetPreallocation()?

I mean, when you only know the global size of Mat, and the number of
nonzeros per row is not constant neither for all rows nor during time, is
it possible to set the singular entries into Mat one by one after creating
each one?

Thanks
Massoud

Reply via email to