| /honee/src/ |
| H A D | monitor_cfl.c | 166 char buf[PETSC_MAX_PATH_LEN]; in TSMonitor_Cfl() local 170 PetscCall(PetscGetVersion(buf, sizeof(buf))); in TSMonitor_Cfl() 171 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# petsc_version: %s\n", buf)); in TSMonitor_Cfl() 174 PetscCall(PetscGetArchType(buf, sizeof(buf))); in TSMonitor_Cfl() 175 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# petsc_arch: %s\n", buf)); in TSMonitor_Cfl() 176 …PetscCheck(strftime(buf, sizeof(buf), "%FT%T%z", localtime(&t)), comm, PETSC_ERR_SYS, "strftime() … in TSMonitor_Cfl() 177 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# date: %s\n", buf)); in TSMonitor_Cfl() 178 …PetscCheck(strftime(buf, sizeof(buf), "%Z", localtime(&t)), comm, PETSC_ERR_SYS, "strftime() call … in TSMonitor_Cfl() 179 PetscCall(PetscViewerASCIIPrintf(ctx->viewer, "# date_timezone: %s\n", buf)); in TSMonitor_Cfl() 180 PetscCall(PetscGetUserName(buf, sizeof(buf))); in TSMonitor_Cfl() [all …]
|
| H A D | monitor_totalkineticenergy.c | 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() [all …]
|
| /honee/problems/ |
| H A D | bc_freestream.c | 219 char buf[128]; in TestRiemannHLL_fwd() local 272 snprintf(buf, sizeof buf, "RiemannFlux_HLL i=%d: Flux", i); in TestRiemannHLL_fwd() 273 PetscCall(CheckQWithTolerance(dFlux_fd, dFlux, dFlux_fd, buf, rtol_0, rtol_u, rtol_4)); in TestRiemannHLL_fwd() 281 char buf[128]; in TestRiemannHLLC_fwd() local 334 snprintf(buf, sizeof buf, "RiemannFlux_HLLC i=%d: Flux", i); in TestRiemannHLLC_fwd() 335 PetscCall(CheckQWithTolerance(dFlux_fd, dFlux, dFlux_fd, buf, rtol_0, rtol_u, rtol_4)); in TestRiemannHLLC_fwd() 343 char buf[128]; in TestComputeHLLSpeeds_Roe_fwd() local 401 snprintf(buf, sizeof buf, "ComputeHLLSpeeds_Roe i=%d:", i); in TestComputeHLLSpeeds_Roe_fwd() 408 …_err) >= rtol) printf("%s ds_left error %g (expected %.10e, got %.10e)\n", buf, ds_left_err, ds_le… in TestComputeHLLSpeeds_Roe_fwd() 409 …err) >= rtol) printf("%s ds_right error %g (expected %.10e, got %.10e)\n", buf, ds_right_err, ds_r… in TestComputeHLLSpeeds_Roe_fwd() [all …]
|
| H A D | newtonian.c | 677 char buf[128]; in TestState() local 689 snprintf(buf, sizeof buf, "%s->%s->%s: %s", A_initial, B_initial, A_initial, A_initial); in TestState() 690 PetscCall(CheckQWithTolerance(A0, A0_test, A0, buf, rtol_0, rtol_u, rtol_4)); in TestState() 698 char buf[128]; in TestState_fwd() local 726 …snprintf(buf, sizeof buf, "d%s->d%s: StateFrom%s_fwd i=%d: d%s", A_initial, B_initial, A_initial, … in TestState_fwd() 727 PetscCall(CheckQWithTolerance(dB_fd, dB, dB_fd, buf, rtol_0, rtol_u, rtol_4)); in TestState_fwd()
|