xref: /petsc/include/petscdstypes.h (revision 6528b96d098a3a0d8b5eec2f1c205a3c25c0d721)
126bd1501SBarry Smith #if !defined(PETSCDSTYPES_H)
226bd1501SBarry Smith #define PETSCDSTYPES_H
32764a2aaSMatthew G. Knepley 
4*6528b96dSMatthew G. Knepley #include <petscdmlabel.h>
5*6528b96dSMatthew G. Knepley 
62764a2aaSMatthew G. Knepley /*S
7*6528b96dSMatthew G. Knepley   PetscDS - PETSc object that manages a discrete system, which is a set of discretizations + continuum equations from a PetscWeakForm
82764a2aaSMatthew G. Knepley 
92764a2aaSMatthew G. Knepley   Level: intermediate
102764a2aaSMatthew G. Knepley 
11*6528b96dSMatthew G. Knepley .seealso: PetscDSCreate(), PetscDSSetType(), PetscDSType, PetscWeakForm, PetscFECreate(), PetscFVCreate()
122764a2aaSMatthew G. Knepley S*/
132764a2aaSMatthew G. Knepley typedef struct _p_PetscDS *PetscDS;
142764a2aaSMatthew G. Knepley 
15*6528b96dSMatthew G. Knepley /*S
16*6528b96dSMatthew G. Knepley   PetscWeakForm - PETSc object that manages a sets of pointwise functions defining a system of equations
17*6528b96dSMatthew G. Knepley 
18*6528b96dSMatthew G. Knepley   Level: intermediate
19*6528b96dSMatthew G. Knepley 
20*6528b96dSMatthew G. Knepley .seealso: PetscWeakFormCreate(), PetscDS, PetscFECreate(), PetscFVCreate()
21*6528b96dSMatthew G. Knepley S*/
22*6528b96dSMatthew G. Knepley typedef struct _p_PetscWeakForm *PetscWeakForm;
23*6528b96dSMatthew G. Knepley 
24*6528b96dSMatthew G. Knepley typedef struct _PetscHashFormKey
25*6528b96dSMatthew G. Knepley {
26*6528b96dSMatthew G. Knepley   DMLabel  label;
27*6528b96dSMatthew G. Knepley   PetscInt value;
28*6528b96dSMatthew G. Knepley   PetscInt field;
29*6528b96dSMatthew G. Knepley } PetscHashFormKey;
30*6528b96dSMatthew G. Knepley 
312764a2aaSMatthew G. Knepley #endif
32