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

Method initialValue

src/model/ExternalInterfaceVariable.cpp:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 }
43
44 double ExternalInterfaceVariable_Impl::initialValue() const {
45 boost::optional<double> value = getDouble(OS_ExternalInterface_VariableFields::InitialValue, true);
46 if (value) {
47 return value.get();
48 }
49 return -9999;
50 }
51
52 bool ExternalInterfaceVariable_Impl::setInitialValue(double initialValue) {
53 bool result = setDouble(OS_ExternalInterface_VariableFields::InitialValue, initialValue);

Callers 15

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

getMethod · 0.45

Tested by 9

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36