CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <GrandCanonicalEvent.hh>
Data structure for storing information regarding a proposed grand canonical Monte Carlo event.
Definition at line 15 of file GrandCanonicalEvent.hh.
Public Types | |
typedef Index | size_type |
Public Member Functions | |
GrandCanonicalEvent () | |
Default constructor. More... | |
GrandCanonicalEvent (size_type Nspecies, size_type Ncorr) | |
Constructor. More... | |
void | set_dEf (double dE) |
Set the change in (extensive) formation energy associated with this event. More... | |
double | dEf () const |
Return change in (extensive) formation energy associated with this event. More... | |
Eigen::VectorXl & | dN () |
Access change in number of species per supercell. Order as in CompositionConverter::components(). More... | |
const Eigen::VectorXl & | dN () const |
const Access change in number of species per supercell. Order as in CompositionConverter::components(). More... | |
void | set_dN (size_type species_type_index, long int dn) |
Set the change in number of species in supercell. Order as in CompositionConverter::components(). More... | |
long int | dN (size_type species_type_index) const |
Return change in number of species in supercell. Order as in CompositionConverter::components(). More... | |
void | set_dEpot (double dpot_nrg) |
Set change in (extensive) potential energy, dEpot = dEf - sum_i(Nunit * param_chem_pot_i * dcomp_x_i) More... | |
double | dEpot () const |
Return change in (extensive) potential energy, dEpot = dEf - sum_i(Nunit * param_chem_pot_i * dcomp_x_i) More... | |
Eigen::VectorXd & | dCorr () |
Access the changes in (extensive) correlations associated with this event. More... | |
const Eigen::VectorXd & | dCorr () const |
const Access the changes in (extensive) correlations associated with this event More... | |
OccMod & | occupational_change () |
Access the occupational modification for this event. More... | |
const OccMod & | occupational_change () const |
const Access the occupational modification for this event More... | |
Private Attributes | |
Eigen::VectorXd | m_dCorr |
Change in (extensive) correlations due to this event. More... | |
double | m_dEf |
Change in (extensive) formation energy due to this event. More... | |
double | m_dEpot |
Change in (extensive) potential energy, dEpot = dEf - sum_i(Nunit * param_chem_pot_i * dcomp_x_i) More... | |
Eigen::VectorXl | m_dN |
Change in number of each species in supercell due to this event. The order is determined by primclex.get_param_comp().get_components() More... | |
OccMod | m_occ_mod |
The ConfigDoF modification performed by this event. More... | |
Definition at line 17 of file GrandCanonicalEvent.hh.
|
inline |
Default constructor.
Definition at line 20 of file GrandCanonicalEvent.hh.
|
inline |
Constructor.
Nspecies | The number of different molecular species in this calculation (use CompositionConverter::components().size()) |
Ncorr | The total number of correlations that could be calculated (use Clexulator::corr_size) |
Definition at line 104 of file GrandCanonicalEvent.hh.
|
inline |
Access the changes in (extensive) correlations associated with this event.
Access the changes in correlations associated with this event.
Definition at line 144 of file GrandCanonicalEvent.hh.
|
inline |
const Access the changes in (extensive) correlations associated with this event
const Access the changes in correlations associated with this event
Definition at line 147 of file GrandCanonicalEvent.hh.
|
inline |
Return change in (extensive) formation energy associated with this event.
Return change in total (formation) energy associated with this event.
Definition at line 112 of file GrandCanonicalEvent.hh.
|
inline |
Return change in (extensive) potential energy, dEpot = dEf - sum_i(Nunit * param_chem_pot_i * dcomp_x_i)
Return change in potential energy: dEpot = dEf - sum_i(Nunit * param_chem_pot_i * dcomp_x_i)
Definition at line 141 of file GrandCanonicalEvent.hh.
|
inline |
Access change in number of species per supercell. Order as in CompositionConverter::components().
Access change in number of all species (extensive). Order as in CompositionConverter::components().
Definition at line 116 of file GrandCanonicalEvent.hh.
|
inline |
const Access change in number of species per supercell. Order as in CompositionConverter::components().
const Access change in number of all species (extensive). Order as in CompositionConverter::components().
Definition at line 120 of file GrandCanonicalEvent.hh.
|
inline |
Return change in number of species in supercell. Order as in CompositionConverter::components().
Return change in number of species (extensive) described by size_type. Order as in CompositionConverter::components().
Definition at line 131 of file GrandCanonicalEvent.hh.
|
inline |
Access the occupational modification for this event.
Definition at line 152 of file GrandCanonicalEvent.hh.
|
inline |
const Access the occupational modification for this event
Definition at line 155 of file GrandCanonicalEvent.hh.
|
inline |
Set the change in (extensive) formation energy associated with this event.
Set the change in total (formation) energy associated with this event.
Definition at line 109 of file GrandCanonicalEvent.hh.
|
inline |
Set change in (extensive) potential energy, dEpot = dEf - sum_i(Nunit * param_chem_pot_i * dcomp_x_i)
Set the change in potential energy: dEpot = dEf - sum_i(Nunit * param_chem_pot_i * dcomp_x_i)
Definition at line 137 of file GrandCanonicalEvent.hh.
|
inline |
Set the change in number of species in supercell. Order as in CompositionConverter::components().
Set the change in number of species (extensive) described by size_type. Order as in CompositionConverter::components().
Definition at line 124 of file GrandCanonicalEvent.hh.
|
private |
Change in (extensive) correlations due to this event.
Definition at line 79 of file GrandCanonicalEvent.hh.
|
private |
Change in (extensive) formation energy due to this event.
Definition at line 82 of file GrandCanonicalEvent.hh.
|
private |
Change in (extensive) potential energy, dEpot = dEf - sum_i(Nunit * param_chem_pot_i * dcomp_x_i)
Definition at line 86 of file GrandCanonicalEvent.hh.
|
private |
Change in number of each species in supercell due to this event. The order is determined by primclex.get_param_comp().get_components()
Definition at line 91 of file GrandCanonicalEvent.hh.
|
private |
The ConfigDoF modification performed by this event.
Definition at line 94 of file GrandCanonicalEvent.hh.