Class nuclear_reaction (o2scl)

O2scl : Class List

class nuclear_reaction

A simple nuclear reaction specification.

This class is very experimental.

Public Functions

inline nuclear_reaction()
inline std::string to_string()

Convert the reaction to a string for screen output.

inline int clear()

Clear the rate.

inline nuclear_reaction(const nuclear_reaction &nr)

Copy constructor.

inline nuclear_reaction &operator=(const nuclear_reaction &nr)

Copy constructor.

inline double rate(double T9)

Compute the reaction rate from the temperature in units of \( 10^9 K \).

Public Members

size_t chap

Chapter.

std::string name[6]

Names of the participating nuclei.

std::string ref

Reference.

char type

Type of rate (resonant/non-resonant/weak)

char rev

Forward or reverse.

double Q

Q value.

double a[7]

Coefficients.

size_t Z[6]

Proton number of participating nuclei.

size_t A[6]

Mass number of participating nuclei.

size_t isomer[6]

Isomer designation of participating nuclei.