# PetscObjectSetUp
Sets up the internal data structures for the later use. 
## Synopsis
```
#include "petscsys.h"    
PetscErrorCode PetscObjectSetUp(PetscObject obj)
```
Collective


## Input Parameters

- ***obj -*** the `PetscObject`



## Note
This does nothing at present.




## See Also
 `PetscObjectDestroy()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/objects/inherit.c.html#PetscObjectSetUp">src/sys/objects/inherit.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/inherit.c)


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