Skip to content

Commit

Permalink
Drop unnecessary MPI guards
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Mar 19, 2024
1 parent 8184f64 commit f91e2ea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions include/core/Partition_One.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef PARTITION_ONE_H
#define PARTITION_ONE_H

#ifdef NGEN_MPI_ACTIVE

#include <iostream>
#include <memory>
#include <string>
Expand Down Expand Up @@ -36,5 +34,4 @@ class Partition_One {
PartitionData partition_data;
};

#endif // NGEN_MPI_ACTIVE
#endif // PARTITION_ONE_H
4 changes: 0 additions & 4 deletions test/utils/Partition_One_Test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#include <boost/lexical_cast.hpp>
#include <vector>

//This way we can test the partition_one, since this doesn't have an explicit MPI dependency
#define NGEN_MPI_ACTIVE
#include "core/Partition_One.hpp"
#include "FileChecker.h"

Expand Down Expand Up @@ -190,5 +188,3 @@ TEST_F(PartitionOneTest, TestPartitionData_1b)
ASSERT_EQ(nexus_ids.size(), num_nexus);
ASSERT_EQ(duplicates.size(), 0);
}

#undef NGEN_MPI_ACTIVE

0 comments on commit f91e2ea

Please sign in to comment.