xref: /petsc/include/petscdstypes.h (revision 10699b917c2ca523f62b603029bfcc018e13d799)
1 #if !defined(PETSCDSTYPES_H)
2 #define PETSCDSTYPES_H
3 
4 #include <petscdmlabel.h>
5 
6 /*S
7   PetscDS - PETSc object that manages a discrete system, which is a set of discretizations + continuum equations from a PetscWeakForm
8 
9   Level: intermediate
10 
11 .seealso: PetscDSCreate(), PetscDSSetType(), PetscDSType, PetscWeakForm, PetscFECreate(), PetscFVCreate()
12 S*/
13 typedef struct _p_PetscDS *PetscDS;
14 
15 /*S
16   PetscWeakForm - PETSc object that manages a sets of pointwise functions defining a system of equations
17 
18   Level: intermediate
19 
20 .seealso: PetscWeakFormCreate(), PetscDS, PetscFECreate(), PetscFVCreate()
21 S*/
22 typedef struct _p_PetscWeakForm *PetscWeakForm;
23 
24 typedef struct _PetscHashFormKey
25 {
26   DMLabel  label;
27   PetscInt value;
28   PetscInt field;
29 } PetscHashFormKey;
30 
31 #endif
32