# DMRedundantGetSize
Gets the size of a densely coupled redundant object 
## Synopsis
```
#include "petscdmredundant.h" 
PetscErrorCode DMRedundantGetSize(DM dm, PetscMPIInt *rank, PetscInt *N)
```
Not Collective


## Input Parameter

- ***dm -*** redundant DM



## Output Parameters

- ***rank -*** rank of process to own redundant degrees of freedom (or NULL)
- ***N -*** total number of redundant degrees of freedom (or NULL)





## See Also
`DMDestroy()`, `DMCreateGlobalVector()`, `DMRedundantCreate()`, `DMRedundantSetSize()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/redundant/dmredundant.c.html#DMRedundantGetSize">src/dm/impls/redundant/dmredundant.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/redundant/dmredundant.c.html#DMRedundantGetSize_Redundant">DMRedundantGetSize_Redundant in src/dm/impls/redundant/dmredundant.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/redundant/dmredundant.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)  
