Home
last modified time | relevance | path

Searched refs:max_entries (Results 1 – 2 of 2) sorted by relevance

/petsc/include/petsc/private/
H A Dlogimpl.h23 int max_entries; \
34 a->max_entries = max_init; \
61 if (new_size > a->max_entries) { \
74 a->max_entries = new_max_entries; \
112 …PetscLog##Container##GetSize(PetscLog##Container a, PetscInt *num_entries, PetscInt *max_entries) \
116 if (max_entries) *max_entries = a->max_entries; \
/petsc/src/sys/objects/
H A Dgarbage.c137 PetscInt ii, max_entries; in GarbageKeyAllReduceIntersect_Private() local
147 PetscCallMPI(MPIU_Allreduce(entries, &max_entries, 1, MPIU_INT, MPI_MAX, comm)); in GarbageKeyAllReduceIntersect_Private()
148 PetscCall(PetscMalloc1(max_entries + 1, &sendset)); in GarbageKeyAllReduceIntersect_Private()
149 PetscCall(PetscMalloc1(max_entries + 1, &recvset)); in GarbageKeyAllReduceIntersect_Private()
154 PetscCall(PetscMPIIntCast(max_entries, &imax_entries)); in GarbageKeyAllReduceIntersect_Private()