:orphan: # PCAmgXGetResources get AMGx's internal resource object ## Synopsis ``` #include "petscpc.h" PETSC_EXTERN PetscErrorCode PCAmgXGetResources(PC pc, void *rsrc_out) ``` Not Collective ## Input Parameter - ***pc -*** the PC ## Output Parameter - ***rsrc_out -*** pointer to the AMGx resource object ## See Also `PCAMGX`, `PC`, `PCGAMG` ## Level advanced ## Location src/ksp/pc/impls/amgx/amgx.cxx --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/amgx/amgx.cxx) [Index of all PC routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)