# PetscPartitionerGetType
Gets the PetscPartitioner type name (as a string) from the object. 
## Synopsis
```
#include "petscpartitioner.h" 
PetscErrorCode PetscPartitionerGetType(PetscPartitioner part, PetscPartitionerType *name)
```
Not Collective


## Input Parameter

- ***part -*** The PetscPartitioner



## Output Parameter

- ***name -*** The PetscPartitioner type name





## See Also
 `PetscPartitionerSetType()`, `PetscPartitionerCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/partitioner/interface/partitioner.c.html#PetscPartitionerGetType">src/dm/partitioner/interface/partitioner.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/partitioner/interface/partitioner.c)


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