Added a comment about timestepping and autoformat
This commit is contained in:
@@ -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"
|
||||
@@ -706,7 +706,6 @@ run_autotest(void)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
// Host integration step
|
||||
model_rk3(dt, model_mesh);
|
||||
boundconds(config, model_mesh);
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user