:orphan:
# 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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
