GridFire v0.7.6rc4.0 General Purpose Nuclear Network

Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
weak_types.h File Reference

Plain data structures and enums for weak reaction tables, interpolation payloads, and errors. More...

`#include <cstdint>`
`#include <array>`
`#include <vector>`
`#include <optional>`
`#include <unordered_map>`
`#include <ostream>`
Include dependency graph for weak_types.h:
This graph shows which files directly or indirectly include this file:

## Classes
struct | gridfire::rates::weak::RateDataRow
| One row of the unified weak-rate data table for a specific isotope and state. More...
struct | gridfire::rates::weak::WeakRatePayload
| Interpolated weak-rate payload at a single state. More...
struct | gridfire::rates::weak::WeakRateDerivatives
| Partial derivatives of the log10() fields w.r.t. (T9, log10(rho*Ye)). More...
struct | std::hash< gridfire::rates::weak::TableAxes >
struct | gridfire::rates::weak::BoundsErrorInfo
| Detailed bounds information for a BOUNDS_ERROR. More...
struct | gridfire::rates::weak::InterpolationError
| Interpolation error with optional per-axis bounds details. More...
struct | gridfire::rates::weak::IsotopeGrid
| Regular 2D grid and payloads for a single isotope (A,Z). More...
struct | gridfire::rates::weak::WeakReactionEntry
| A single weak-reaction data point (type, state, and log values). More...

## Namespaces
namespace | gridfire
namespace | gridfire::rates
namespace | gridfire::rates::weak
namespace | std
| STL namespace.

## Enumerations
enum class | gridfire::rates::weak::WeakReactionType { gridfire::rates::weak::BETA_PLUS_DECAY , gridfire::rates::weak::BETA_MINUS_DECAY , gridfire::rates::weak::ELECTRON_CAPTURE , gridfire::rates::weak::POSITRON_CAPTURE }
| Weak reaction channel identifiers. More...
enum class | gridfire::rates::weak::NeutrinoTypes { gridfire::rates::weak::ELECTRON_NEUTRINO , gridfire::rates::weak::ELECTRON_ANTINEUTRINO , gridfire::rates::weak::MUON_NEUTRINO , gridfire::rates::weak::MUON_ANTINEUTRINO , gridfire::rates::weak::TAU_NEUTRINO , gridfire::rates::weak::TAU_ANTINEUTRINO }
| Enumeration of neutrino flavors (for potential extensions and tagging). More...
enum class | gridfire::rates::weak::WeakMapError { gridfire::rates::weak::SPECIES_NOT_FOUND , gridfire::rates::weak::UNKNOWN_ERROR }
| Lookup errors for WeakReactionMap queries. More...
enum class | gridfire::rates::weak::InterpolationErrorType { gridfire::rates::weak::BOUNDS_ERROR , gridfire::rates::weak::UNKNOWN_SPECIES_ERROR , gridfire::rates::weak::UNKNOWN_ERROR }
| Error categories for interpolation attempts. More...
enum class | gridfire::rates::weak::TableAxes { gridfire::rates::weak::T9 , gridfire::rates::weak::LOG_RHOYE , gridfire::rates::weak::MUE }
| Axes of the interpolation table. More...

## Functions
constexpr std::string_view | gridfire::rates::weak::weak_reaction_type_name (const WeakReactionType t) noexcept
| Abbreviated channel name used in printing and IDs.

## Variables
std::unordered_map< InterpolationErrorType, std::string_view > | gridfire::rates::weak::InterpolationErrorTypeMap
| Human-readable names for InterpolationErrorType.

## Detailed Description

Plain data structures and enums for weak reaction tables, interpolation payloads, and errors.

This header defines the raw row format loaded from the unified weak-rate library, simple enumerations for channels and axes, compact payloads for interpolated values and derivatives, and error-reporting structures used by the interpolator.