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

Method setNormalizationDivisor

src/model/TableLookup.cpp:169–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168
169 bool TableLookup_Impl::setNormalizationDivisor(double normalizationDivisor) {
170 if (std::abs(normalizationDivisor) < std::numeric_limits<double>::min()) {
171 LOG(Warn, "Unable to set " << briefDescription() << "'s Normalization divisor to zero.");
172 return false;
173 }
174
175 bool result = setDouble(OS_Table_LookupFields::NormalizationDivisor, normalizationDivisor);
176 return result;
177 }
178
179 bool TableLookup_Impl::setMinimumOutput(double minimumOutput) {
180 bool result = setDouble(OS_Table_LookupFields::MinimumOutput, minimumOutput);

Callers 8

translateHtRcvryMethod · 0.80
translateCrvMapDblVarMethod · 0.80
translateCrvMapSglVarMethod · 0.80
makeTableFunction · 0.80
TEST_FFunction · 0.80
translateTableLookupMethod · 0.80
TEST_FFunction · 0.80

Calls 1

absFunction · 0.85

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64