GridFire v0.7.0-alpha
General Purpose Nuclear Network
Loading...
Searching...
No Matches
gridfire::policy::HotCNOChainPolicy Class Referencefinal

A ReactionChainPolicy for the Hot CNO (HCNO) cycle. More...

#include <chains.h>

Inheritance diagram for gridfire::policy::HotCNOChainPolicy:
[legend]
Collaboration diagram for gridfire::policy::HotCNOChainPolicy:
[legend]

Public Member Functions

 HotCNOChainPolicy ()
 Constructs the policy and initializes its reaction set from REACLIB.
 
const reaction::ReactionSet & get_reactions () const override
 Returns the set of reactions in the HCNO cycle.
 
- Public Member Functions inherited from gridfire::policy::ReactionChainPolicy
virtual ~ReactionChainPolicy ()=default
 

Private Attributes

std::set< std::string > m_reactionIDs
 
reaction::ReactionSet m_reactions
 

Detailed Description

A ReactionChainPolicy for the Hot CNO (HCNO) cycle.

Encapsulates the reactions of the HCNO cycle, which becomes significant at higher temperatures and densities than the standard CNO cycle, often in explosive scenarios.

Exceptions
gridfire::exceptions::MissingBaseReactionErrorif a required reaction for the HCNO cycle is not found in the REACLIB database during construction.

Constructor & Destructor Documentation

◆ HotCNOChainPolicy()

gridfire::policy::HotCNOChainPolicy::HotCNOChainPolicy ( )
inline

Constructs the policy and initializes its reaction set from REACLIB.

Member Function Documentation

◆ get_reactions()

const reaction::ReactionSet & gridfire::policy::HotCNOChainPolicy::get_reactions ( ) const
inlinenodiscardoverridevirtual

Returns the set of reactions in the HCNO cycle.

Returns
const reaction::ReactionSet&

Implements gridfire::policy::ReactionChainPolicy.

Member Data Documentation

◆ m_reactionIDs

std::set<std::string> gridfire::policy::HotCNOChainPolicy::m_reactionIDs
private
Initial value:
= {
"c12(p,g)n13",
"n13(p,g)o14",
"o14(,e+)n14",
"n14(p,g)o15",
"o15(,e+)n15",
"n15(p,a)c12",
"n15(p,g)o16",
"o16(p,g)f17",
"f17(p,g)ne18",
"ne18(,e+)f18",
"f18(p,a)o15",
"o15(,e+)n15",
"f18(p,g)ne19",
"ne19(,e+)f19",
"f19(p,a)o16",
"o16(p,g)f17",
"f17(p,g)ne18",
"ne18(,e+)f18"
}

◆ m_reactions

reaction::ReactionSet gridfire::policy::HotCNOChainPolicy::m_reactions
private

The documentation for this class was generated from the following file: