Searched refs:ftablealloc (Results 1 – 2 of 2) sorted by relevance
890 size_t ftableused, ftablealloc; in MonitorFunctionals() local948 ftablealloc = fcount * 100; in MonitorFunctionals()950 PetscCall(PetscCalloc1(ftablealloc, &ftable)); in MonitorFunctionals()971 if (countused > ftablealloc - ftableused - 1) { in MonitorFunctionals()974 ftablealloc = 2 * ftablealloc + countused; in MonitorFunctionals()975 PetscCall(PetscMalloc1(ftablealloc, &ftablenew)); in MonitorFunctionals()
970 size_t ftableused, ftablealloc; in MonitorVTK() local1018 ftablealloc = fcount * 100; in MonitorVTK()1020 PetscCall(PetscMalloc1(ftablealloc, &ftable)); in MonitorVTK()1039 if (countused > ftablealloc - ftableused - 1) { /* reallocate */ in MonitorVTK()1041 ftablealloc = 2 * ftablealloc + countused; in MonitorVTK()1042 PetscCall(PetscMalloc(ftablealloc, &ftablenew)); in MonitorVTK()