Skip to main content
`Ctrl`+`K`

# PetscDA

Abstract PETSc object that manages data assimilation

## Synopsis

    typedef struct _p_PetscDA *PetscDA;

## Notes

This is new code, please independently verify all results you obtain using it.

Some planned work for `PetscDA` is available as GitLab Issue #1882

Currently we supply two ensemble-based assimilators: `PETSCDAETKF` and `PETSCDALETKF`

## See Also

PetscDA: Data Assimilation, `PetscDAType`, `PETSCDAETKF`, `PETSCDALETKF`, `PetscDASqrtType`, `PetscDACreate()`, `PetscDASetType()`, `PetscDASetSizes()`, `PetscDAEnsembleSetSize()`, `PetscDAEnsembleAnalysis()`, `PetscDAEnsembleForecast()`, `PetscDADestroy()`, `PetscDAView()`

## Level

beginner

## Location

include/petscda.h

## Examples

src/ml/da/tutorials/ex2.c
src/ml/da/tutorials/ex3.c
src/ml/da/tutorials/ex1.c
src/ml/da/tutorials/ex4.c

## Implementations

_p_PetscDA in include/petsc/private/daimpl.h
PetscDA_Ensemble in include/petsc/private/daimpl.h
PetscDA_ETKF in src/ml/da/impls/ensemble/etkf/etkfilter.c
PetscDA_LETKF in src/ml/da/impls/ensemble/letkf/letkf.h

Index of all PetscDA routines
Table of Contents for all manual pages
Index of all manual pages