#include "petscmat.h" PetscErrorCode MatCompositeSetMergeType(Mat mat,MatCompositeMergeType type)Logically Collective on Mat
mat | - the composite matrix | |
type | - MAT_COMPOSITE_MERGE RIGHT (default) to start merge from right with the first added matrix (mat[0]), MAT_COMPOSITE_MERGE_LEFT to start merge from left with the last added matrix (mat[nmat-1]) |