diff --git a/src/mesh/MeshData.hpp b/src/mesh/MeshData.hpp index 205dc9e017aead6d398408e33f1eeb7c5d687ba0..bd318f33d5c4437a649a70267f087e3a14d9c164 100644 --- a/src/mesh/MeshData.hpp +++ b/src/mesh/MeshData.hpp @@ -73,6 +73,7 @@ private: } // Ajout fonction pour calculer h_i+1/2 + // PROBLEME Dj negatif parfois ! KOKKOS_INLINE_FUNCTION void _updateVolumeCenter() { @@ -82,9 +83,6 @@ private: const Kokkos::View<const unsigned short*> cell_nb_nodes = m_mesh.connectivity().cellNbNodes(); - const Kokkos::View<const Rd*> xj; - _updateCenter(); - Kokkos::parallel_for(m_mesh.numberOfCells(), KOKKOS_LAMBDA(const int& j){ double sum_cjr_xj = 0; for (int R=0; R<cell_nb_nodes[j]; ++R) {