#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 | |
cellGeometry | - The face geometry from DMPlexComputeCellGeometryFVM() |
faceGeometry | - The face geometry from DMPlexComputeFaceGeometryFVM(); on output the geometric factors for gradient calculation are inserted |
dmGrad | - The DM describing the layout of gradient data |