Class Gas
Defined in File Gas.h
Inheritance Relationships
Base Type
public Material(Class Material)
Class Documentation
-
class Gas : public virtual Material
A derived class from Material, specifically for modeling fission gases like xenon, krypton, and helium.
This class extends the Material class to include specific properties that are unique to gases used in fission processes, such as atomic number, mass number, Van der Waals volume, decay rate, and a precursor factor.
- Author
G. Zullo
Public Functions
-
inline void setAtomicNumber(int y)
Sets the atomic number of the gas.
- Parameters:
y – The atomic number to be set.
-
inline int getAtomicNumber()
Returns the atomic number of the gas.
- Returns:
The atomic number of the gas.
-
inline void setMassNumber(double y)
Sets the mass number of the gas.
- Parameters:
y – The mass number to be set.
-
inline double getMassNumber()
Returns the mass number of the gas.
- Returns:
The mass number of the gas.
-
inline void setVanDerWaalsVolume(double y)
Sets the Van der Waals volume of the gas.
- Parameters:
y – The Van der Waals volume to be set.
-
inline double getVanDerWaalsVolume()
Returns the Van der Waals volume of the gas.
- Returns:
The Van der Waals volume of the gas.
-
inline void setDecayRate(double l)
Sets the decay rate of the gas.
- Parameters:
l – The decay rate to be set.
-
inline double getDecayRate()
Returns the decay rate of the gas.
- Returns:
The decay rate of the gas.
-
inline void setPrecursorFactor(double h)
Sets the precursor factor for nuclear reactions.
- Parameters:
h – The precursor factor to be set.
-
inline double getPrecursorFactor()
Returns the precursor factor for nuclear reactions.
- Returns:
The precursor factor of the gas.
-
inline Gas()
Constructor.
-
inline ~Gas()
Destructor.