public class Thermodynamics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double |
enthalpy
protected double enthalpy : the enthalpy value (delta H).
|
protected double |
entropy
protected double entropy : the entropy value (delta S).
|
Constructor and Description |
---|
Thermodynamics(double H,
double S) |
Modifier and Type | Method and Description |
---|---|
double |
getEnthalpy()
This method is called to get the enthalpy of Thermodynamics.
|
double |
getEntropy()
This method is called to get the entropy of Thermodynamics.
|
void |
setEnthalpy(double enthalpy)
This method is called to change the enthalpy of Thermodynamics.
|
void |
setEntropy(double entropy)
This method is called to change the entropy of Thermodynamics.
|
protected double enthalpy
protected double entropy
public double getEnthalpy()
public void setEnthalpy(double enthalpy)
enthalpy
- : new enthalpy valuepublic double getEntropy()
public void setEntropy(double entropy)
entropy
- : new entropy value