Skip to content

Commit 34e184d

Browse files
committed
fix: clean code
1 parent 2ffbbee commit 34e184d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/samurai/mesh.hpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -805,11 +805,8 @@ namespace samurai
805805
update_mesh_neighbour();
806806

807807
std::vector<mpi_subdomain_t> m_mpi_neighbourhood_temp;
808-
// std::swap(m_mpi_neighbourhood_temp, m_mpi_neighbourhood);
809-
// m_mpi_neighboor is empty lol...
810-
//
811-
const auto& stencils = StencilProvider<dim>::stencils;
812808

809+
const auto& stencils = StencilProvider<dim>::stencils;
813810
for (auto& neighbour : m_mpi_neighbourhood)
814811
{
815812
int est_voisin_global = 0;
@@ -964,6 +961,7 @@ namespace samurai
964961

965962
this->m_cells[mesh_id_t::cells][start_level] = subdomain_cells;
966963

964+
// in theory, at this step, we can construct the neighbourhood by construction.
967965
find_neighbour();
968966

969967
// // Neighbours

0 commit comments

Comments
 (0)