#include "petscpc.h" PetscErrorCode PCHYPRESetInterpolations(PC pc, PetscInt dim, Mat RT_PiFull, Mat RT_Pi[], Mat ND_PiFull, Mat ND_Pi[])Collective on PC
pc | - the preconditioning context | |
dim | - the dimension of the problem, only used in AMS |
RT_PiFull | - Raviart-Thomas interpolation matrix |
RT_Pi | - x/y/z component of Raviart-Thomas interpolation matrix |
ND_PiFull | - Nedelec interpolation matrix |
ND_Pi | - x/y/z component of Nedelec interpolation matrix |
For ADS, both type of interpolation matrices are needed.