Function GridKit::PhasorDynamics::parsePartitionData(std::istream&)
Defined in File PartitionData.hpp
Function Documentation
-
PartitionData<size_t> GridKit::PhasorDynamics::parsePartitionData(std::istream &stream)
Generate partition data from a JSON input stream or file.
- Throws:
std::runtime_error – for an unreadable file, an empty name or an unknown key
nlohmann::json – exceptions for invalid JSON, a missing name or wrong value types