public class ThermoResult extends Thermodynamics
enthalpy, entropy
Constructor and Description |
---|
ThermoResult(double enthalpy,
double entropy,
double Tm)
creates a ThermoResult object initialised with the double enthalpy, double entropy and double Tm.
|
Modifier and Type | Method and Description |
---|---|
MeltingComputationMethod |
getCalculMethod()
Gets the calculation method of the
ThermoResult . |
double |
getEnergyValueInJ(double energyValue)
converts the energyValy double in cal/mol into an energy value in J/mol.
|
double |
getSaltIndependentEntropy()
This method is called to get the SaltIndependentEntropy of ThermoResult.
|
double |
getTm()
This method is called to get the Tm of ThermoResult.
|
void |
setCalculMethod(MeltingComputationMethod calculMethod)
Changes the calculation method in the
ThermoResult . |
void |
setSaltIndependentEntropy(double saltIndependentEntropy)
This method is called to change the SaltIndependentEntropy of ThermoResult.
|
void |
setTm(double tm)
This method is called to change the Tm of ThermoResult.
|
getEnthalpy, getEntropy, setEnthalpy, setEntropy
public ThermoResult(double enthalpy, double entropy, double Tm)
enthalpy
- : the enthalpy valueentropy
- : the entropy valueTm
- : the melting temperaturepublic double getTm()
public void setTm(double tm)
tm
- : the new melting temperaturepublic double getSaltIndependentEntropy()
public void setSaltIndependentEntropy(double saltIndependentEntropy)
SaltIndependentEntropy
- : the new salt independent concentration.public MeltingComputationMethod getCalculMethod()
ThermoResult
.public void setCalculMethod(MeltingComputationMethod calculMethod)
ThermoResult
.calculMethod
- : the new calculation method.public double getEnergyValueInJ(double energyValue)
energyValue
- : a thermodynamic energy value in cal/mol (enthalpy or entropy)