diff --git a/src/standalone/autotest.cc b/src/standalone/autotest.cc index 0f961fa..6c1855e 100644 --- a/src/standalone/autotest.cc +++ b/src/standalone/autotest.cc @@ -30,9 +30,9 @@ #include "config_loader.h" #include "core/math_utils.h" +#include "model/host_forcing.h" #include "model/host_memory.h" #include "model/host_timestep.h" -#include "model/host_forcing.h" #include "model/model_boundconds.h" #include "model/model_reduce.h" #include "model/model_rk3.h" @@ -701,12 +701,11 @@ run_autotest(void) const AcReal dt = host_timestep(umax, config); #if LFORCING - - //CURRENTLY AUTOTEST NOT SUPPORTED WITH FORCING!!! + + // CURRENTLY AUTOTEST NOT SUPPORTED WITH FORCING!!! #endif - // Host integration step model_rk3(dt, model_mesh); boundconds(config, model_mesh); diff --git a/src/standalone/benchmark.cc b/src/standalone/benchmark.cc index 05f4b32..468ef29 100644 --- a/src/standalone/benchmark.cc +++ b/src/standalone/benchmark.cc @@ -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();