PetscErrorCode MatH2OpusMapVec(Mat A, PetscBool nativetopetsc, Vec in, Vec* out)
| A | - the matrix | |
| nativetopetsc | - if true, maps from H2Opus ordering to PETSc ordering. If false, applies the reverse map | |
| in | - the vector to be mapped |
| out | - the newly created mapped vector |