/usr/lib/petscdir/3.7.7/x86_64-linux-gnu-complex-debug/include/petscfvtypes.h is in libpetsc-complex-3.7.7-dbg 3.7.7+dfsg1-2build5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | #if !defined(_PETSCFVTYPES_H)
#define _PETSCFVTYPES_H
/*S
PetscLimiter - PETSc object that manages a finite volume slope limiter
Level: intermediate
Concepts: finite volume, limiter
.seealso: PetscLimiterCreate(), PetscLimiterSetType(), PetscLimiterType
S*/
typedef struct _p_PetscLimiter *PetscLimiter;
/*S
PetscFV - PETSc object that manages a finite volume discretization
Level: intermediate
Concepts: finite volume
.seealso: PetscFVCreate(), PetscFVSetType(), PetscFVType
S*/
typedef struct _p_PetscFV *PetscFV;
/*S
PetscFVFaceGeom - Data structure (C struct) for storing information about face geometry for a finite volume method.
Level: beginner
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
Concepts: finite volume; geometry; unstructured mesh
.seealso: DMPlexComputeGeometryFVM()
S*/
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;
/*S
PetscFVCellGeom - Data structure (C struct) for storing information about cell geometry for a finite volume method.
Level: beginner
Note: The components are
$ PetscReal centroid[3] - The cell centroid
$ PetscReal volume - The cell volume
Concepts: finite volume; geometry; unstructured mesh
.seealso: DMPlexComputeGeometryFVM()
S*/
typedef struct {
PetscReal centroid[3];
PetscReal volume;
} PetscFVCellGeom;
#endif
|