| 49 | } |
| 50 | |
| 51 | void test_comm_graphs() |
| 52 | { |
| 53 | const int mpi_size = dolfinx::MPI::size(MPI_COMM_WORLD); |
| 54 | constexpr int size_local = 100; |
| 55 | const common::IndexMap idx_map |
| 56 | = create_index_map(MPI_COMM_WORLD, size_local, (mpi_size - 1) * 3); |
| 57 | |
| 58 | auto g = graph::comm_graph(idx_map); |
| 59 | if (dolfinx::MPI::rank(MPI_COMM_WORLD) == 0) |
| 60 | graph::comm_to_json(g); |
| 61 | } |
| 62 | } // namespace |
| 63 | |
| 64 | TEST_CASE("AdjacencyList create") |
no test coverage detected