| 81 | } |
| 82 | |
| 83 | void Solution::setTransportModel(const string& model) { |
| 84 | if (!m_thermo) { |
| 85 | throw CanteraError("Solution::setTransportModel", |
| 86 | "Unable to set Transport model without valid ThermoPhase object."); |
| 87 | } |
| 88 | if (m_transport && transportModel() == model) { |
| 89 | return; |
| 90 | } |
| 91 | setTransport(newTransport(m_thermo, model)); |
| 92 | } |
| 93 | |
| 94 | void Solution::addAdjacent(shared_ptr<Solution> adjacent) { |
| 95 | if (m_adjacentByName.count(adjacent->name())) { |
no test coverage detected