PetscFVCellGeom#

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

Synopsis#

typedef struct {
  PetscReal centroid[3];
  PetscReal volume;
} PetscFVCellGeom;

Note: The components are

   PetscReal   centroid[3] - The cell centroid
   PetscReal   volume      - The cell volume

See Also#

PetscFVFaceGeom, DMPlexComputeGeometryFVM()

Level#

beginner

Location#

include/petscfvtypes.h


Edit on GitLab

Index of all FV routines
Table of Contents for all manual pages
Index of all manual pages