MCPcopy Create free account
hub / github.com/Cantera/cantera / distance

Method distance

src/zeroD/ReactorNet.cpp:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96double ReactorNet::distance() {
97 if (!m_timeIsIndependent) {
98 return m_time;
99 } else {
100 throw CanteraError("ReactorNet::distance", "Distance is not the independent"
101 " variable for this reactor network.");
102 }
103}
104
105void ReactorNet::initialize()
106{

Callers 1

updateConnectedMethod · 0.80

Calls 1

CanteraErrorClass · 0.85

Tested by

no test coverage detected