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

Input structure for the network evaluation. More...

#include <network.h>

Public Attributes

serif::composition::Composition composition
 Composition of the network.
 
double tMax
 Maximum time.
 
double dt0
 Initial time step.
 
double temperature
 Temperature in Kelvin.
 
double density
 Density in g/cm^3.
 
double energy
 Energy in ergs.
 
double culling = 0.0
 Culling threshold for reactions (default is 0.0, meaning no culling)
 

Detailed Description

Input structure for the network evaluation.

This structure holds the input parameters required for the network evaluation.

Example usage:

nuclearNetwork::NetIn netIn;
netIn.composition = {1.0, 0.0, 0.0};
netIn.tmax = 1.0e6;
netIn.dt0 = 1.0e-3;
netIn.temperature = 1.0e8;
netIn.density = 1.0e5;
netIn.energy = 1.0e12;

Definition at line 65 of file network.h.

Member Data Documentation

◆ composition

serif::composition::Composition serif::network::NetIn::composition

Composition of the network.

Definition at line 66 of file network.h.

◆ culling

double serif::network::NetIn::culling = 0.0

Culling threshold for reactions (default is 0.0, meaning no culling)

Definition at line 72 of file network.h.

◆ density

double serif::network::NetIn::density

Density in g/cm^3.

Definition at line 70 of file network.h.

◆ dt0

double serif::network::NetIn::dt0

Initial time step.

Definition at line 68 of file network.h.

◆ energy

double serif::network::NetIn::energy

Energy in ergs.

Definition at line 71 of file network.h.

◆ temperature

double serif::network::NetIn::temperature

Temperature in Kelvin.

Definition at line 69 of file network.h.

◆ tMax

double serif::network::NetIn::tMax

Maximum time.

Definition at line 67 of file network.h.


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