#include "petscdmplex.h" #include "petscfe.h" PetscErrorCode DMPlexComputeGradientFVM(DM dm, PetscFV fvm, Vec faceGeometry, Vec cellGeometry, DM *dmGrad)Collective on DM
dm | - The DM | |
fvm | - The PetscFV | |
faceGeometry | - The face geometry from DMPlexComputeFaceGeometryFVM() | |
cellGeometry | - The face geometry from DMPlexComputeCellGeometryFVM() |
faceGeometry | - The geometric factors for gradient calculation are inserted | |
dmGrad | - The DM describing the layout of gradient data |