1 #ifndef CASM_CanonicalConditions_HH
2 #define CASM_CanonicalConditions_HH
double temperature() const
Eigen::VectorXd param_composition() const
parametric composition: comp_x
const PrimClex * m_primclex
void set_temperature(double in_temp)
Set the temperature of the current grand canonical condition.
bool operator!=(const CanonicalConditions &RHS) const
Compare temperature and all chemical potentials to *this.
bool operator==(const CanonicalConditions &RHS) const
Compare temperature and all chemical potentials to *this.
int operator/(const CanonicalConditions &RHS_inc) const
Divide ALL parameters and return the greatest number in absolute value.
void set_param_composition(const Eigen::VectorXd &in_param_comp)
Set parametric composition.
const PrimClex & primclex() const
double m_tolerance
Tolerance for comparison operators == and !=.
Eigen::VectorXd m_param_composition
Vector of the param composition.
CanonicalConditions & operator+=(const CanonicalConditions &RHS)
Add temperature and all chemical potentials to *this.
Eigen::VectorXd mol_composition() const
mol composition: comp_n
CanonicalConditions & operator-=(const CanonicalConditions &RHS)
Subtract temperature and all chemical potentials to *this.
CanonicalConditions operator+(const CanonicalConditions &RHS) const
double m_temperature
Temperature.
CanonicalConditions()
Default constructor.
double m_beta
Inverse temperature. Includes Boltzmann term.
CanonicalConditions operator-(const CanonicalConditions &RHS) const
PrimClex is the top-level data structure for a CASM project.
std::ostream & operator<<(std::ostream &sout, const CanonicalConditions &cond)
INDEX_TYPE Index
For long integer indexing: