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

Method setThermo

src/base/Solution.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void 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
51void Solution::setKinetics(shared_ptr<Kinetics> kinetics) {
52 if (kinetics == m_kinetics) {

Callers 4

setKineticsMethod · 0.45
Flow1DMethod · 0.45
newSolutionFunction · 0.45
addPhaseMethod · 0.45

Calls 2

callbackFunction · 0.85
setSolutionMethod · 0.45

Tested by

no test coverage detected