Added a comment about timestepping and autoformat

This commit is contained in:
jpekkila
2019-07-04 17:25:54 +03:00
parent d1a93b7d4e
commit ad7a497eef
2 changed files with 5 additions and 8 deletions

View File

@@ -126,12 +126,10 @@ run_benchmark(void)
for (int i = 0; i < NUM_ITERS; ++i) {
timer_reset(&t);
const AcReal dt = FLT_EPSILON; // TODO NOTE: time to timestep not measured
#if GEN_BENCHMARK_RK3 == 1
acIntegrateStep(2, FLT_EPSILON);
acIntegrateStep(2, dt);
#else // GEN_BENCHMARK_FULL
// const AcReal umax = acReduceVec(RTYPE_MAX, VTXBUF_UUX, VTXBUF_UUY, VTXBUF_UUZ);
const AcReal dt = AcReal(
1e-2); // TODO adaptive timestep //host_timestep(umax, mesh_info);
acIntegrate(dt);
#endif
acSynchronize();