5
$\begingroup$

What is the difference between MATSEQMAIJ and MATSEQAIJ in PETSc?

Also, where can I find more information on each of the MatTypes? I went to the MatType documentation, but it didn't have anything but the definitions.

$\endgroup$
5
$\begingroup$

MATMAIJ is a matrix type that is mostly used to represent interpolation/restriction operators in multigrid methods. It represents the Kronecker product of a sparse matrix with a small block identity, so that all fields associated with a given discretization node are interpolated in the same way, without needing any redundant storage.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.