Good Morning,

Is it possible to expand a matrix in petsc? I current created and loaded a
matrix (6 x 5) which holds information required later in my program. I
would like to store additional information in the matrix by expanding its
size, let's say make it at 10 x 5 matrix. How is this accomplished in
petsc. When I try to use MatSetSize() or MatSetValue() my code throws
errors. What is the process for accomplishing this?

Thank you in advance for your time.
Brandon

Reply via email to