petsc-3.13.6 2020-09-29
Report Typos and Errors

PetscFVFaceGeom

Data structure (C struct) for storing information about face geometry for a finite volume method.

Synopsis

typedef struct {
  PetscReal   normal[3];   /* Area-scaled normals */
  PetscReal   centroid[3]; /* Location of centroid (quadrature point) */
  PetscScalar grad[2][3];  /* Face contribution to gradient in left and right cell */
} PetscFVFaceGeom;

Note: The components are

 PetscReal   normal[3]   - Area-scaled normals
 PetscReal   centroid[3] - Location of centroid (quadrature point)
 PetscScalar grad[2][3]  - Face contribution to gradient in left and right cell

See Also

DMPlexComputeGeometryFVM()

Level

beginner

Location

src/dm/dt/fv/../../../../include/petscfvtypes.h
Index of all FV routines
Table of Contents for all manual pages
Index of all manual pages