#include "petscpc.h" PetscErrorCode PCHYPRESetDiscreteGradient(PC pc, Mat G)Collective on PC Many br
pc | - the preconditioning context Many br | |
G | - the discrete gradient Many br |
Many br
Notes: G should have as many rows as the number of edges and as many columns as the number of vertices in the mesh Many brEach row of G has 2 nonzeros, with column indexes being the global indexes of edge's endpoints: matrix entries are +1 and -1 depending on edge orientation Many br
Level:intermediate
Location:src/ksp/pc/impls/hypre/hypre.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages