GridFire v0.7.1_rc2
General Purpose Nuclear Network
Loading...
Searching...
No Matches
gridfire::policy::TripleAlphaChainPolicy Class Referencefinal

Triple-Alpha Chain Policy. More...

#include <chains.h>

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

Public Member Functions

 TripleAlphaChainPolicy ()
 
std::unique_ptr< ReactionChainPolicyclone () const override
 
std::string name () const override
 
- Public Member Functions inherited from gridfire::policy::TemperatureDependentChainPolicy
 TemperatureDependentChainPolicy (const std::vector< std::string > &reactionIDs)
 Construct a new Temperature Dependent Chain Policy object.
 
 TemperatureDependentChainPolicy (const std::vector< std::string > &reactionIDs, std::optional< double > minT9)
 Construct a new Temperature Dependent Chain Policy object.
 
 TemperatureDependentChainPolicy (const std::vector< std::string > &reactionIDs, std::optional< double > minT9, std::optional< double > maxT9)
 Construct a new Temperature Dependent Chain Policy object.
 
 ~TemperatureDependentChainPolicy () override=default
 Virtual destructor.
 
const reaction::ReactionSetget_reactions () const override
 Get the reactions that comprise the chain.
 
bool contains (const std::string &id) const override
 Check if a reaction or reaction ID is part of the chain.
 
bool contains (const reaction::Reaction &reaction) const override
 Check if a reaction is part of the chain.
 
uint64_t hash (uint64_t seed) const override
 Generate the hash for the reaction chain policy.
 
bool operator== (const ReactionChainPolicy &other) const override
 Equality operator.
 
bool operator!= (const ReactionChainPolicy &other) const override
 Inequality operator.
 
bool is_active (double T9) const
 Check if the reaction chain is active at a given temperature.
 
- Public Member Functions inherited from gridfire::policy::ReactionChainPolicy
virtual ~ReactionChainPolicy ()=default
 

Additional Inherited Members

- Protected Attributes inherited from gridfire::policy::TemperatureDependentChainPolicy
ActiveTempRange m_tempRange
 Active temperature range for the reaction chain.
 
std::vector< std::string > m_reactionIDs
 Vector of reaction IDs that comprise the chain.
 
reaction::ReactionSet m_reactions
 Set of reactions that comprise the chain.
 

Detailed Description

Triple-Alpha Chain Policy.

This class implements the Triple-Alpha process of nuclear reactions. This chain's minimum temperature is set to T9=0.01 (or 1e7K). This chain includes reactions:

  • he4(he4,a)be8
  • be8(he4,g)c12

Constructor & Destructor Documentation

◆ TripleAlphaChainPolicy()

gridfire::policy::TripleAlphaChainPolicy::TripleAlphaChainPolicy ( )

Member Function Documentation

◆ clone()

std::unique_ptr< ReactionChainPolicy > gridfire::policy::TripleAlphaChainPolicy::clone ( ) const
overridevirtual

◆ name()

std::string gridfire::policy::TripleAlphaChainPolicy::name ( ) const
overridevirtual

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