From 713386dbab14b69a2ff28652ded903db87d8ac68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <stephane.delpino44@gmail.com> Date: Wed, 28 Mar 2018 00:25:40 +0200 Subject: [PATCH] clean-up --- experimental/AcousticSolver.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/experimental/AcousticSolver.cpp b/experimental/AcousticSolver.cpp index e155bd395..1fa8b763e 100644 --- a/experimental/AcousticSolver.cpp +++ b/experimental/AcousticSolver.cpp @@ -205,13 +205,7 @@ void AcousticSolver::computeExplicitFluxes(const Kokkos::View<const double*>& xr node_cells, node_cell_local_node, node_nb_cells); ur = computeUr(Ar, br); -#warning understand why this call diminishes performances Fjr = computeFjr(Ajr, ur, Cjr, uj, pj, cell_nodes); - // Kokkos::parallel_for(m_nj, KOKKOS_LAMBDA(const int& j) { - // for (int r=0; r<2; ++r) { - // Fjr(j,r) = Ajr(j,r)*(uj(j)-ur(cell_nodes(j,r)))+Cjr(j,r)*pj(j); - // } - // }); } AcousticSolver::AcousticSolver(const long int& nj) @@ -360,8 +354,6 @@ AcousticSolver::AcousticSolver(const long int& nj) ej[j] = Ej[j] - 0.5 * uj[j]*uj[j]; }); - // Kokkos::View<double*> xr_new("new_xr", m_nr); - Kokkos::parallel_for(m_nr, KOKKOS_LAMBDA(const int& r){ xr[r] += dt*ur[r]; }); -- GitLab