:orphan:
# DMPlexLandauAccess
Access to the distribution function with user callback 
## Synopsis
```
#include "petscdmplex.h" 
#include "petsclandau.h"   
PetscErrorCode DMPlexLandauAccess(DM pack, Vec X, PetscErrorCode (*func)(DM, Vec, PetscInt, PetscInt, PetscInt, void *), void *user_ctx)
```
Collective


## Input Parameters
.   pack - the DMComposite
+   func - call back function
.   user_ctx - user context


## Input/Output Parameter
.   X - Vector to data to



.keywords: mesh

## See Also
 `DMPlexLandauCreateVelocitySpace()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/utils/dmplexlandau/plexland.c.html#DMPlexLandauAccess">src/ts/utils/dmplexlandau/plexland.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/utils/dmplexlandau/tutorials/ex1.c.html">src/ts/utils/dmplexlandau/tutorials/ex1.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/utils/dmplexlandau/plexland.c)


[Index of all LANDAU routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
