:orphan:
# PetscDS
PETSc object that manages a discrete system, which is a set of discretizations + continuum equations from a `PetscWeakForm`
## Synopsis
```
typedef struct _p_PetscDS *PetscDS;
```
## See Also
`PetscDSCreate()`, `PetscDSSetType()`, `PetscDSType`, `PetscWeakForm`, `PetscFECreate()`, `PetscFVCreate()`
## Level
intermediate
## Location
include/petscdstypes.h
## Examples
src/ts/tutorials/ex11.c
src/ts/tutorials/ex11_sa.c
## Implementations
_p_PetscDS in include/petsc/private/petscdsimpl.h
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdstypes.h)
[Index of all DT routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)