1#include "InitializeEnergyBalance/InitializeEnergyBalance.h"
7 pugi::xml_document xmldoc;
9 std::string xml_error_string;
10 if (!
open_xml_file(xml_input_file, xmldoc, xml_error_string)) {
14 pugi::xml_node helios = xmldoc.child(
"helios");
19 int energybalance_block_count = 0;
20 for (pugi::xml_node energybalance_block = helios.child(
"energybalance"); energybalance_block; energybalance_block = energybalance_block.next_sibling(
"energybalance")) {
21 energybalance_block_count++;
23 if (energybalance_block_count > 1) {
24 std::cout <<
"WARNING: Only one 'energybalance' block is allowed in the input file. Skipping any others..." << std::endl;
46 std::vector<uint> ground_UUIDs;
52 std::cout <<
"WARNING: No ground UUIDs found" << std::endl;
55 if (energybalance_block_count == 0) {