#include "petscpc.h" PetscErrorCode PCBDDCSetDivergenceMat(PC pc, Mat divudotp, PetscBool trans, IS vl2l)Collective on PC
pc | - the preconditioning context | |
divudotp | - the matrix (must be of type MATIS) | |
trans | - if trans if false (resp. true), then pressures are in the test (trial) space and velocities are in the trial (test) space. | |
vl2l | - optional index set describing the local (wrt the local matrix in divudotp) to local (wrt the local matrix in the preconditioning matrix) map for the velocities |