Added forcing from stencil_process.sps to autotests. 3 Tests fail.

This commit is contained in:
jpekkila
2019-08-06 19:15:28 +03:00
parent 0b7f43da91
commit d7e26e8f21
7 changed files with 70 additions and 26 deletions

View File

@@ -422,6 +422,12 @@ check_rk3(const AcMeshInfo& mesh_info)
// const AcReal dt = host_timestep(umax, mesh_info);
const AcReal dt = AcReal(1e-2); // Use a small constant timestep to avoid instabilities
#if LFORCING
const ForcingParams forcing_params = generateForcingParams(model_mesh->info);
loadForcingParamsToHost(forcing_params, model_mesh);
loadForcingParamsToDevice(forcing_params);
#endif
acIntegrate(dt);
model_rk3(dt, model_mesh);