GridFire v1.2.0
General Purpose Nuclear Network
Loading...
Searching...
No Matches
gridfire::engine::EnergyChannels Struct Reference

Partition of a reaction network into named energy generation channels. More...

#include <energy_channels.h>

Collaboration diagram for gridfire::engine::EnergyChannels:
[legend]

Public Attributes

std::vector< std::string > names
 Channel names, in output order. The last channel is always "other".
 
std::vector< size_t > reaction_channel
 Channel index for each reaction, indexed like the input ReactionSet.
 

Detailed Description

Partition of a reaction network into named energy generation channels.

Every reaction is assigned to exactly one channel, so summing the energy released by each channel recovers the total nuclear energy generation rate exactly.

Member Data Documentation

◆ names

std::vector<std::string> gridfire::engine::EnergyChannels::names

Channel names, in output order. The last channel is always "other".

◆ reaction_channel

std::vector<size_t> gridfire::engine::EnergyChannels::reaction_channel

Channel index for each reaction, indexed like the input ReactionSet.


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