SERiF 0.0.1a
3+1D Stellar Structure and Evolution
Loading...
Searching...
No Matches
serif::network Namespace Reference

Namespaces

namespace  approx8
 

Classes

class  GraphNetwork
 Graph-based nuclear reaction network using REACLIB reactions. More...
 
struct  NetIn
 Input structure for the network evaluation. More...
 
struct  NetOut
 Output structure for the network evaluation. More...
 
class  Network
 Class for network evaluation. More...
 
class  ReaclibNetwork
 

Concepts

concept  IsArithmeticOrAD
 Concept to check if a type is either double or CppAD::AD<double>.
 

Enumerations

enum  NetworkFormat { APPROX8 , REACLIB , UNKNOWN }
 

Functions

serif::network::reaclib::REACLIBReactionSet build_reaclib_nuclear_network (const serif::composition::Composition &composition)
 
serif::network::reaclib::REACLIBReactionSet build_reaclib_nuclear_network (const serif::composition::Composition &composition, const double culling, const double T9)
 

Variables

static constexpr double MIN_DENSITY_THRESHOLD = 1e-18
 Minimum density threshold (g/cm^3) below which reactions are ignored.
 
static constexpr double MIN_ABUNDANCE_THRESHOLD = 1e-18
 Minimum abundance threshold below which reactions are ignored.
 
static constexpr double MIN_JACOBIAN_THRESHOLD = 1e-24
 Minimum Jacobian entry threshold for sparsity.
 
static std::unordered_map< NetworkFormat, std::string > FormatStringLookup
 

Enumeration Type Documentation

◆ NetworkFormat

Enumerator
APPROX8 

Approx8 nuclear reaction network format.

REACLIB 

General REACLIB nuclear reaction network format.

UNKNOWN 

Definition at line 36 of file network.h.

Function Documentation

◆ build_reaclib_nuclear_network() [1/2]

serif::network::reaclib::REACLIBReactionSet serif::network::build_reaclib_nuclear_network ( const serif::composition::Composition & composition)

Definition at line 74 of file network.cpp.

◆ build_reaclib_nuclear_network() [2/2]

serif::network::reaclib::REACLIBReactionSet serif::network::build_reaclib_nuclear_network ( const serif::composition::Composition & composition,
const double culling,
const double T9 )

Definition at line 102 of file network.cpp.

Variable Documentation

◆ FormatStringLookup

std::unordered_map<NetworkFormat, std::string> serif::network::FormatStringLookup
inlinestatic
Initial value:
= {
{APPROX8, "Approx8"},
{REACLIB, "REACLIB"},
{UNKNOWN, "Unknown"}
}
@ REACLIB
General REACLIB nuclear reaction network format.
Definition network.h:38
@ APPROX8
Approx8 nuclear reaction network format.
Definition network.h:37

Definition at line 42 of file network.h.

◆ MIN_ABUNDANCE_THRESHOLD

double serif::network::MIN_ABUNDANCE_THRESHOLD = 1e-18
staticconstexpr

Minimum abundance threshold below which reactions are ignored.

Definition at line 50 of file netgraph.h.

◆ MIN_DENSITY_THRESHOLD

double serif::network::MIN_DENSITY_THRESHOLD = 1e-18
staticconstexpr

Minimum density threshold (g/cm^3) below which reactions are ignored.

Definition at line 48 of file netgraph.h.

◆ MIN_JACOBIAN_THRESHOLD

double serif::network::MIN_JACOBIAN_THRESHOLD = 1e-24
staticconstexpr

Minimum Jacobian entry threshold for sparsity.

Definition at line 52 of file netgraph.h.