#include "petscdt.h" PetscErrorCode PetscDTAltVInteriorMatrix(PetscInt N, PetscInt k, const PetscReal *v, PetscReal *intvMat)
N | - the dimension of the vector space, N >= 0 | |
k | - the degree k of the k-forms on which intvMat acts, 0 <= k <= N | |
v | - an N dimensional vector |
intvMat | - an [(N choose (k-1)) x (N choose k)] matrix, row-major: (intvMat) * w = (w int v) |