PetscIntStackPush — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscIntStackPush

This function pushes an integer on the stack.

## Synopsis

    #include "petscsys.h"
    PetscErrorCode PetscIntStackPush(PetscIntStack stack, int item)

Not Collective

## Input Parameters

- stack - The stack

- item - The integer to push

## See Also

`PetscIntStackCreate()`, `PetscIntStackDestroy()`, `PetscIntStackEmpty()`, `PetscIntStackPop()`, `PetscIntStackTop()`

## Level

developer

## Location

src/sys/logging/utils/stack.c

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