Loading...
Searching...
No Matches
gridfire::rates::weak::WeakReactionEntry Struct Reference

A single weak-reaction data point (type, state, and log values). More...

`#include <weak_types.h>`

## Public Attributes

WeakReactionType | type
| Channel.
float | T9
| Temperature in GK.
float | log_rhoYe
| log10(rho*Ye).
float | mu_e
| Electron chemical potential (MeV).
float | log_rate
| Channel-specific log10(rate).
float | log_neutrino_loss
| Corresponding log10(neutrino or antineutrino energy loss).

## Friends

std::ostream & | operator<< (std::ostream &os, const WeakReactionEntry &reaction)

## Detailed Description

A single weak-reaction data point (type, state, and log values).

All rates and losses are base-10 logarithms. Useful for listing and filtering weak entries for a Species.

Example
  WeakReactionEntry e{WeakReactionType::ELECTRON_CAPTURE, 3.0f, 6.0f, 2.0f, -2.3f, -1.7f};
  std::cout << e << "\n"; // prints a compact summary
  gridfire::rates::weak::WeakReactionType::ELECTRON_CAPTURE
  @ ELECTRON_CAPTURE
  e− capture: (Z, e−) -> Z-1 + ν_e
  Definition weak_types.h:55
  gridfire::rates::weak::WeakReactionEntry
  A single weak-reaction data point (type, state, and log values).
  Definition weak_types.h:213

## Friends And Related Symbol Documentation

## operator<<

std::ostream & operator<< | ( | std::ostream & | os,
|  | const WeakReactionEntry & | reaction )

friend

## Member Data Documentation

## log_neutrino_loss

float gridfire::rates::weak::WeakReactionEntry::log_neutrino_loss

Corresponding log10(neutrino or antineutrino energy loss).

## log_rate

float gridfire::rates::weak::WeakReactionEntry::log_rate

Channel-specific log10(rate).

## log_rhoYe

float gridfire::rates::weak::WeakReactionEntry::log_rhoYe

log10(rho*Ye).

## mu_e

float gridfire::rates::weak::WeakReactionEntry::mu_e

Electron chemical potential (MeV).

## T9

float gridfire::rates::weak::WeakReactionEntry::T9

Temperature in GK.

## type

WeakReactionType gridfire::rates::weak::WeakReactionEntry::type

Channel.

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

- src/include/gridfire/reaction/weak/weak_types.h