Function atommass::initmass¶
Defined in File atommass.h
Function Documentation¶
-
void atommass::initmass(SystemData &sys)¶
Initialize atomic mass data and isotope compositions.
This function initializes the global arrays containing isotope masses, natural abundances, and average atomic masses for all supported elements. The data is used throughout OpenThermo for mass-weighted calculations.
Note
This function must be called before any mass-related calculations
Note
Initializes the external arrays: isomass, isowei, and elemass
- Parameters:
sys – Reference to the SystemData structure (currently unused but provided for future extensibility)