:orphan: # PetscAddrAlign Rounds up an address to `PETSC_MEMALIGN` alignment ## Synopsis ``` #include void *PetscAddrAlign(void *addr) ``` Not Collective ## Input Parameter - ***addr -*** address to align (any pointer type) ## See Also `PetscMallocAlign()` ## Level developer ## Location include/petscsys.h --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscsys.h) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)