I would like to know what is the most straightforward and easy way to handle PETSc Matrices and Vectors input/output.
This is the situation: I create and assemble a PETSc matrix, then I want to export it. After that, I want to import the same matrix in an object, keeping the type, maybe to use it again in another problem. The same question is valid for vectors.
Thank you very much for the support.