#include <Partition_Parser.hpp>
◆ Partitions_Parser() [1/2]
Partitions_Parser::Partitions_Parser |
( |
const std::string & | file_path | ) |
|
|
inline |
◆ Partitions_Parser() [2/2]
Partitions_Parser::Partitions_Parser |
( |
const boost::property_tree::ptree | tree | ) |
|
|
inline |
◆ ~Partitions_Parser()
virtual Partitions_Parser::~Partitions_Parser |
( |
| ) |
|
|
inlinevirtual |
◆ get_mpi_rank()
int Partitions_Parser::get_mpi_rank |
( |
int | part_id | ) |
|
|
inline |
◆ get_partition_struct()
PartitionData Partitions_Parser::get_partition_struct |
( |
int | part_id | ) |
|
|
inline |
◆ parse_partition_file()
void Partitions_Parser::parse_partition_file |
( |
| ) |
|
|
inline |
References geojson::JSONProperty::as_list(), geojson::JSONProperty::at(), PartitionData::catchment_ids, catchment_ids, geojson::JSONProperty::get_type(), geojson::List, PartitionData::mpi_world_rank, PartitionData::nexus_ids, nexus_ids, partition_ranks, PartitionData::remote_connections, geojson::String, and tree.
◆ catchment_ids
std::unordered_set<std::string> Partitions_Parser::catchment_ids |
|
private |
◆ mpi_world_rank
int Partitions_Parser::mpi_world_rank |
|
private |
◆ nexus_ids
std::unordered_set<std::string> Partitions_Parser::nexus_ids |
|
private |
◆ partition_ranks
◆ remote_connections
std::vector<std::tuple<int, std::string, std::string> > Partitions_Parser::remote_connections |
|
private |
◆ remote_tuple
std::tuple<int, std::string, std::string> Partitions_Parser::remote_tuple |
|
private |
◆ tree
boost::property_tree::ptree Partitions_Parser::tree |
|
private |
The documentation for this class was generated from the following file: