Skip to content

Commit

Permalink
Clean up commented replaced code and indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Feb 23, 2024
1 parent dd69282 commit 662b770
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions include/core/Partition_Data.hpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#ifndef PARTITION_DATA_H
#define PARTITION_DATA_H

//using Tuple = std::tuple<int, std::string, std::string, std::string>;

struct PartitionData
{
using Tuple = std::tuple<int, std::string, std::string, std::string>;
using Tuple = std::tuple<int, std::string, std::string, std::string>;
int mpi_world_rank;
std::unordered_set<std::string> catchment_ids;
std::unordered_set<std::string> nexus_ids;
Expand Down
2 changes: 0 additions & 2 deletions include/core/Partition_One.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class Partition_One {
*/
void generate_partition(geojson::GeoJSON& catchment_collection)
{
//PartitionData partition_data;
for(auto& feature: *catchment_collection)
{
std::string cat_id = feature->get_id();
Expand All @@ -38,7 +37,6 @@ class Partition_One {

virtual ~Partition_One(){};

//PartitionData is a struct
PartitionData partition_data;
};

Expand Down
1 change: 0 additions & 1 deletion include/core/Partition_Parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class Partitions_Parser {
std::string remote_nex_id;
std::string remote_cat_id;
std::string direction;
//Tuple tmp_tuple;
PartitionData::Tuple tmp_tuple;
std::vector<PartitionData::Tuple> remote_conn_vec;
int part_counter = 0;
Expand Down

0 comments on commit 662b770

Please sign in to comment.