Skip to content

Commit

Permalink
[OneD] Clarify docstring for StFlow::m_trans_shared
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl authored and bryanwweber committed Sep 5, 2022
1 parent 3b2978e commit e3080ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/cantera/oneD/StFlow.h
Expand Up @@ -438,7 +438,9 @@ class StFlow : public Domain1D
Kinetics* m_kin;
Transport* m_trans;

// keep smart pointer to prevent garbage collection when transport model changes
// Smart pointer preventing garbage collection when the transport model of an
// associated Solution object changes: the transport model of the StFlow object
// will remain unaffected by an external change.
std::shared_ptr<Transport> m_trans_shared;

// boundary emissivities for the radiation calculations
Expand Down

0 comments on commit e3080ed

Please sign in to comment.