Loading...
Searching...
No Matches
fourdst::composition::GlobalComposition Struct Reference

Represents global properties of a finalized composition. More...

`#include <composition.h>`

## Public Attributes

double | specificNumberDensity
| The specific number density (moles per unit mass, sum of X_i/M_i), where X_i is mass fraction and M_i is molar mass. Units: mol/g.
double | meanParticleMass
| The mean mass per particle (inverse of specific number density). Units: g/mol.

## Friends

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

## Detailed Description

Represents global properties of a finalized composition.

This struct holds derived quantities that describe the entire composition, such as mean particle mass. It is typically returned by `Composition` methods after the composition has been finalized and is intended for internal or advanced use.

Definition at line 70 of file composition.h.

## Friends And Related Symbol Documentation

## operator<<

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

friend

Definition at line 1060 of file composition.cpp.

## Member Data Documentation

## meanParticleMass

double fourdst::composition::GlobalComposition::meanParticleMass

The mean mass per particle (inverse of specific number density). Units: g/mol.

Definition at line 72 of file composition.h.

## specificNumberDensity

double fourdst::composition::GlobalComposition::specificNumberDensity

The specific number density (moles per unit mass, sum of X_i/M_i), where X_i is mass fraction and M_i is molar mass. Units: mol/g.

Definition at line 71 of file composition.h.

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

- src/composition/include/fourdst/composition/composition.h