diff --git a/experimental/AcousticSolver.cpp b/experimental/AcousticSolver.cpp index e155bd3957e6443570c3acf700a6c1d8e6690d46..1fa8b763ee1223fb6ef56ffa2aadb06d5e7d35e8 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]; });