Actual source code: petscdstypes.h

  1: #if !defined(PETSCDSTYPES_H)
  2: #define PETSCDSTYPES_H

  4: #include <petscdmlabel.h>

  6: /*S
  7:   PetscDS - PETSc object that manages a discrete system, which is a set of discretizations + continuum equations from a PetscWeakForm

  9:   Level: intermediate

 11: .seealso: PetscDSCreate(), PetscDSSetType(), PetscDSType, PetscWeakForm, PetscFECreate(), PetscFVCreate()
 12: S*/
 13: typedef struct _p_PetscDS *PetscDS;

 15: /*S
 16:   PetscWeakForm - PETSc object that manages a sets of pointwise functions defining a system of equations

 18:   Level: intermediate

 20: .seealso: PetscWeakFormCreate(), PetscDS, PetscFECreate(), PetscFVCreate()
 21: S*/
 22: typedef struct _p_PetscWeakForm *PetscWeakForm;

 24: typedef struct _PetscHashFormKey
 25: {
 26:   DMLabel  label;
 27:   PetscInt value;
 28:   PetscInt field;
 29: } PetscHashFormKey;

 31: #endif