Lines Matching refs:buf
164 char buf[PETSC_MAX_PATH_LEN]; in TSMonitor_TotalKineticEnergy() local
173 PetscCall(PetscGetVersion(buf, sizeof(buf))); in TSMonitor_TotalKineticEnergy()
174 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# petsc_version: %s\n", buf)); in TSMonitor_TotalKineticEnergy()
177 PetscCall(PetscGetArchType(buf, sizeof(buf))); in TSMonitor_TotalKineticEnergy()
178 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# petsc_arch: %s\n", buf)); in TSMonitor_TotalKineticEnergy()
179 …PetscCheck(strftime(buf, sizeof(buf), "%FT%T%z", localtime(&t)), comm, PETSC_ERR_SYS, "strftime() … in TSMonitor_TotalKineticEnergy()
180 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# date: %s\n", buf)); in TSMonitor_TotalKineticEnergy()
181 …PetscCheck(strftime(buf, sizeof(buf), "%Z", localtime(&t)), comm, PETSC_ERR_SYS, "strftime() call … in TSMonitor_TotalKineticEnergy()
182 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# date_timezone: %s\n", buf)); in TSMonitor_TotalKineticEnergy()
183 PetscCall(PetscGetUserName(buf, sizeof(buf))); in TSMonitor_TotalKineticEnergy()
184 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# username: %s\n", buf)); in TSMonitor_TotalKineticEnergy()
185 PetscCall(PetscGetHostName(buf, sizeof(buf))); in TSMonitor_TotalKineticEnergy()
186 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# hostname: %s\n", buf)); in TSMonitor_TotalKineticEnergy()
187 PetscCall(PetscGetWorkingDirectory(buf, sizeof(buf))); in TSMonitor_TotalKineticEnergy()
188 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# working_directory: %s\n", buf)); in TSMonitor_TotalKineticEnergy()
190 PetscCall(PetscGetFullPath(buf_const, buf, sizeof(buf))); in TSMonitor_TotalKineticEnergy()
191 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# original_file_path: %s\n", buf)); in TSMonitor_TotalKineticEnergy()