petsc-3.8.4 2018-03-24
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/../../../include/petscfvtypes.h
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages