#include "petscmat.h" PetscErrorCode MatFDColoringSetType(MatFDColoring matfd,MatMFFDType type)Collective on MatFDColoring
coloring | - the coloring context | |
type | - either MATMFFD_WP or MATMFFD_DS |
Note: It is goofy that the argument type is MatMFFDType since the MatFDColoring actually computes the matrix entries but the process of computing the entries is the same as as with the MatMFFD operation so we should reuse the names instead of introducing another one.