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

Output structure for the network evaluation. More...

#include <network.h>

Public Attributes

serif::composition::Composition composition
 Composition of the network after evaluation.
 
int num_steps
 Number of steps taken in the evaluation.
 
double energy
 Energy in ergs after evaluation.
 

Friends

std::ostream & operator<< (std::ostream &os, const NetOut &netOut)
 

Detailed Description

Output structure for the network evaluation.

This structure holds the output results from the network evaluation.

Example usage:

nuclearNetwork::NetOut netOut = network.evaluate(netIn);
std::vector<double> composition = netOut.composition;
int steps = netOut.num_steps;
double energy = netOut.energy;
double energy
Energy in ergs after evaluation.
Definition network.h:92
serif::composition::Composition composition
Composition of the network after evaluation.
Definition network.h:90

Definition at line 89 of file network.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const NetOut & netOut )
friend

Definition at line 94 of file network.h.

Member Data Documentation

◆ composition

serif::composition::Composition serif::network::NetOut::composition

Composition of the network after evaluation.

Definition at line 90 of file network.h.

◆ energy

double serif::network::NetOut::energy

Energy in ergs after evaluation.

Definition at line 92 of file network.h.

◆ num_steps

int serif::network::NetOut::num_steps

Number of steps taken in the evaluation.

Definition at line 91 of file network.h.


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