File tree 2 files changed +5
-5
lines changed 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class ReactorBase
89
89
// ! Specify the mixture contained in the reactor. Note that a pointer to
90
90
// ! this substance is stored, and as the integration proceeds, the state of
91
91
// ! the substance is modified.
92
- virtual void setThermoMgr (thermo_t & thermo);
92
+ virtual void setThermoMgr (ThermoPhase & thermo);
93
93
94
94
// ! Specify chemical kinetics governing the reactor.
95
95
virtual void setKineticsMgr (Kinetics& kin) {
@@ -185,15 +185,15 @@ class ReactorBase
185
185
virtual void syncState ();
186
186
187
187
// ! return a reference to the contents.
188
- thermo_t & contents () {
188
+ ThermoPhase & contents () {
189
189
if (!m_thermo) {
190
190
throw CanteraError (" ReactorBase::contents" ,
191
191
" Reactor contents not defined." );
192
192
}
193
193
return *m_thermo;
194
194
}
195
195
196
- const thermo_t & contents () const {
196
+ const ThermoPhase & contents () const {
197
197
if (!m_thermo) {
198
198
throw CanteraError (" ReactorBase::contents" ,
199
199
" Reactor contents not defined." );
@@ -269,7 +269,7 @@ class ReactorBase
269
269
// ! Number of homogeneous species in the mixture
270
270
size_t m_nsp;
271
271
272
- thermo_t * m_thermo;
272
+ ThermoPhase * m_thermo;
273
273
274
274
// ! Pointer to the homogeneous Kinetics object that handles the reactions
275
275
Kinetics* m_kin;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ ReactorBase::ReactorBase(const string& name) :
26
26
m_name = name;
27
27
}
28
28
29
- void ReactorBase::setThermoMgr (thermo_t & thermo)
29
+ void ReactorBase::setThermoMgr (ThermoPhase & thermo)
30
30
{
31
31
m_thermo = &thermo;
32
32
m_nsp = m_thermo->nSpecies ();
You can’t perform that action at this time.
0 commit comments