| 41 | } |
| 42 | |
| 43 | void Solution::setThermo(shared_ptr<ThermoPhase> thermo) { |
| 44 | m_thermo = thermo; |
| 45 | m_thermo->setSolution(weak_from_this()); |
| 46 | for (const auto& [id, callback] : m_changeCallbacks) { |
| 47 | callback(); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | void Solution::setKinetics(shared_ptr<Kinetics> kinetics) { |
| 52 | if (kinetics == m_kinetics) { |
no test coverage detected