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

Method setDirectNormalRadiation

src/utilities/filetypes/EpwFile.cpp:2049–2056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2047}
2048
2049bool EpwDataPoint::setDirectNormalRadiation(double value) {
2050 if (0 > value || value == 9999) {
2051 m_directNormalRadiation = "9999";
2052 return false;
2053 }
2054 m_directNormalRadiation = std::to_string(value);
2055 return true;
2056}
2057
2058bool EpwDataPoint::setDirectNormalRadiation(const std::string& directNormalRadiation) {
2059 bool ok;

Callers 1

fromEpwStringsMethod · 0.80

Calls 1

stringToDoubleFunction · 0.85

Tested by

no test coverage detected