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

Method pathFlow1

src/airflow/contam/SimFile.cpp:341–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339 }
340
341 boost::optional<openstudio::TimeSeries> SimFile::pathFlow1(int nr) const {
342 int index = indexOf(m_pathNr, nr);
343 if (index == -1) {
344 return {};
345 }
346 openstudio::TimeSeries series = convertData(m_dateTimes, m_F1[index], "kg/s");
347 return boost::optional<openstudio::TimeSeries>(series);
348 }
349
350 boost::optional<openstudio::TimeSeries> SimFile::pathFlow(int nr) const {
351 int index = indexOf(m_pathNr, nr);

Callers

nothing calls this directly

Calls 2

indexOfFunction · 0.85
convertDataFunction · 0.85

Tested by

no test coverage detected