PetscLogObjectParents — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscLogObjectParents

Record a parent/child relationship between a `PetscObject` and an array of `PetscObject`s for performance logging

## Synopsis

    #include <petsclog.h>
    PetscErrorCode PetscLogObjectParents(PetscObject p, int n, PetscObject d[])

Not Collective; No Fortran Support

## Input Parameters

- p - the parent `PetscObject`

- n - the number of child objects

- d - array of child `PetscObject`s

## Note

This routine is a no-op unless PETSc is configured with logging enabled.

## See Also

`PetscLogObjectParent()`, `PetscLogObjectCreate()`, `PetscLogObjectDestroy()`

## Level

developer

## Location

include/petsclog.h

Index of all Log routines
Table of Contents for all manual pages
Index of all manual pages