Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/
H A Dex18.c851 char *ftable = NULL; in MonitorFunctionals() local
950 PetscCall(PetscCalloc1(ftablealloc, &ftable)); in MonitorFunctionals()
976 PetscCall(PetscArraycpy(ftablenew, ftable, ftableused)); in MonitorFunctionals()
977 PetscCall(PetscFree(ftable)); in MonitorFunctionals()
978 ftable = ftablenew; in MonitorFunctionals()
980 PetscCall(PetscArraycpy(ftable + ftableused, buffer, countused)); in MonitorFunctionals()
982 ftable[ftableused] = 0; in MonitorFunctionals()
1007 PetscCall(PetscPrintf(PetscObjectComm((PetscObject)ts), ") %s\n", ftable ? ftable : "")); in MonitorFunctionals()
1008 PetscCall(PetscFree(ftable)); in MonitorFunctionals()
H A Dex11.c954 char filename[PETSC_MAX_PATH_LEN], *ftable = NULL; in MonitorVTK() local
1020 PetscCall(PetscMalloc1(ftablealloc, &ftable)); in MonitorVTK()
1043 PetscCall(PetscArraycpy(ftablenew, ftable, ftableused)); in MonitorVTK()
1044 PetscCall(PetscFree(ftable)); in MonitorVTK()
1045 ftable = ftablenew; in MonitorVTK()
1047 PetscCall(PetscArraycpy(ftable + ftableused, buffer, countused)); in MonitorVTK()
1049 ftable[ftableused] = 0; in MonitorVTK()
1053 …_FMT " time %8.4g |x| %8.4g %s\n", stepnum, (double)time, (double)xnorm, ftable ? ftable : "")); in MonitorVTK()
1054 PetscCall(PetscFree(ftable)); in MonitorVTK()