MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / setDiffuseHorizontalRadiation

Method setDiffuseHorizontalRadiation

src/utilities/filetypes/EpwFile.cpp:2076–2083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2074}
2075
2076bool EpwDataPoint::setDiffuseHorizontalRadiation(double value) {
2077 if (0 > value || value == 9999) {
2078 m_diffuseHorizontalRadiation = "9999";
2079 return false;
2080 }
2081 m_diffuseHorizontalRadiation = std::to_string(value);
2082 return true;
2083}
2084
2085bool EpwDataPoint::setDiffuseHorizontalRadiation(const std::string& diffuseHorizontalRadiation) {
2086 bool ok;

Callers 1

fromEpwStringsMethod · 0.80

Calls 1

stringToDoubleFunction · 0.85

Tested by

no test coverage detected