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

Represents the global composition of a system. This tends to be used after finalize and is primarily for internal use. More...

#include <composition.h>

Public Attributes

double specificNumberDensity
 The specific number density of the composition (\sum_{i} X_i m_i. Where X_i is the number fraction of the ith species and m_i is the mass of the ith species).
 
double meanParticleMass
 The mean particle mass of the composition (\sum_{i} \frac{n_i}{m_i}. where n_i is the number fraction of the ith species and m_i is the mass of the ith species).
 

Friends

std::ostream & operator<< (std::ostream &os, const GlobalComposition &comp)
 

Detailed Description

Represents the global composition of a system. This tends to be used after finalize and is primarily for internal use.

Definition at line 53 of file composition.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const GlobalComposition & comp )
friend

Definition at line 663 of file composition.cpp.

Member Data Documentation

◆ meanParticleMass

double serif::composition::GlobalComposition::meanParticleMass

The mean particle mass of the composition (\sum_{i} \frac{n_i}{m_i}. where n_i is the number fraction of the ith species and m_i is the mass of the ith species).

Definition at line 55 of file composition.h.

◆ specificNumberDensity

double serif::composition::GlobalComposition::specificNumberDensity

The specific number density of the composition (\sum_{i} X_i m_i. Where X_i is the number fraction of the ith species and m_i is the mass of the ith species).

Definition at line 54 of file composition.h.


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