On 5 December 2016 at 16:49, Massoud Rezavand wrote:
> 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()?
>
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