CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
CASM::Monte::Canonical Class Reference

#include <Canonical.hh>

+ Inheritance diagram for CASM::Monte::Canonical:

Detailed Description

Derives from base MonteCarlo class, to be used for simulations at constant temperature and chemical potential.

As with all the other derived Monte Carlo classes, member functions must follow a specific naming convention to be used with templated routines currently defined in MonteDriver.hh: -conditions -set_conditions -propose -check -accept -reject -write_results

Definition at line 34 of file Canonical.hh.

Public Types

typedef CanonicalEvent EventType
 
typedef CanonicalConditions CondType
 
typedef CanonicalSettings SettingsType
 
typedef MonteSampler::size_type size_type
 
typedef std::map< std::string,
double > 
ScalarPropertyMap
 a map of keyname to property value More...
 
typedef std::map< std::string,
Eigen::VectorXd > 
VectorPropertyMap
 a map of keyname to property value Eigen::VectorXd More...
 
typedef std::map< std::string,
notstd::cloneable_ptr
< MonteSampler >
, SamplerNameCompare
SamplerMap
 a map of keyname to MonteSampler More...
 
typedef std::vector< std::pair
< MonteCounter::size_type,
MonteCounter::size_type > > 
SampleTimes
 a vector of std::pair(pass, step) indicating when samples were taken More...
 

Public Member Functions

 Canonical (PrimClex &primclex, const SettingsType &settings, Log &_log)
 Constructs a Canonical object and prepares it for running based on MonteSettings. More...
 
Index steps_per_pass () const
 Return number of steps per pass. Equals number of sites with variable occupation. More...
 
const CondTypeconditions () const
 Return current conditions. More...
 
void set_conditions (const CondType &new_conditions)
 Set conditions and clear previously collected data. More...
 
void set_configdof (const ConfigDoF &configdof, const std::string &msg="")
 Set configdof and clear previously collected data. More...
 
std::pair< ConfigDoF, std::string > set_state (const CanonicalConditions &new_conditions, const CanonicalSettings &settings)
 Set configdof and conditions and clear previously collected data. More...
 
void set_state (const CondType &new_conditions, const ConfigDoF &configdof, const std::string &msg="")
 Set configdof and conditions and clear previously collected data. More...
 
const EventTypepropose ()
 Propose a new event, calculate delta properties, and return reference to it. More...
 
bool check (const EventType &event)
 Based on a random number, decide if the change in energy from the proposed event is low enough to be accepted. More...
 
void accept (const EventType &event)
 Accept proposed event. Change configuration accordingly and update energies etc. More...
 
void reject (const EventType &event)
 Nothing needs to be done to reject a CanonicalEvent. More...
 
void check_corr ()
 
void write_results (Index cond_index) const
 Write results to files. More...
 
const double & formation_energy () const
 Formation energy, normalized per primitive cell. More...
 
const double & potential_energy () const
 Potential energy, normalized per primitive cell. More...
 
const Eigen::VectorXd & corr () const
 Correlations, normalized per primitive cell. More...
 
const Eigen::VectorXd & comp_n () const
 Number of atoms of each type, normalized per primitive cell. More...
 
double potential_energy (const Configuration &config) const
 Get potential energy. More...
 
const MonteSettingssettings () const
 const Access settings used for construction More...
 
const PrimClexprimclex () const
 const Access the PrimClex that *this is based on More...
 
const Supercellsupercell () const
 const Access the Supercell that *this is based on More...
 
void set_nlist ()
 Set a pointer to the SuperNeighborList once it is ready. More...
 
const SuperNeighborListnlist () const
 const Access the SuperNeighborList via pointer stored by 'set_nlist' More...
 
const Configurationconfig () const
 const Access current microstate More...
 
const ConfigDoFconfigdof () const
 const Access current microstate More...
 
void reset (const ConfigDoF &dof)
 Set current microstate and clear samplers. More...
 
const ScalarPropertyMapscalar_properties () const
 const Access scalar properties map More...
 
const double & scalar_property (std::string property_name) const
 const Access a particular scalar property More...
 
const VectorPropertyMapvector_properties () const
 const Access vector properties map More...
 
const Eigen::VectorXd & vector_property (std::string property_name) const
 const Access a particular vector property More...
 
void sample_data (const MonteCounter &counter)
 Samples all requested property data, and stores pass and step number sample was taken at. More...
 
void clear_samples ()
 Clear all data from all samplers. More...
 
bool must_converge () const
 Return true if convergence is requested. More...
 
std::pair< bool,
MonteSampler::size_type
is_equilibrated () const
 Returns pair(true, equil_samples) if required equilibration has occured for all samplers that must converge. More...
 
bool check_convergence_time () const
 Returns true if a convergence check is due. More...
 
bool is_converged () const
 Check to see if all the properties required to converge have converged. More...
 
const SamplerMapsamplers () const
 const Access sampler map More...
 
const SampleTimessample_times () const
 const Access a vector of std::pair<pass, step> indicating when samples were taken More...
 
const std::vector< ConfigDoF > & trajectory () const
 const Access snapshots of the Monte Carlo calculation More...
 
bool debug () const
 return true if running in debug mode More...
 

Static Public Attributes

static const Monte::ENSEMBLE ensemble = ENSEMBLE::Canonical
 

Protected Member Functions

PrimClex_primclex () const
 Access the PrimClex that *this is based on. More...
 
Supercell_supercell () const
 Access the Supercell that *this is based on. More...
 
Configuration_config () const
 Access current microstate. More...
 
ConfigDoF_configdof () const
 Access current microstate. More...
 
Log_log () const
 
MTRand & _mtrand ()
 
ScalarPropertyMap_scalar_properties ()
 Access scalar properties map. More...
 
double & _scalar_property (std::string property_name)
 Access a particular scalar property. More...
 
VectorPropertyMap_vector_properties ()
 const Access vector properties map More...
 
Eigen::VectorXd & _vector_property (std::string property_name)
 const Access a particular vector property More...
 

Private Member Functions

double & _formation_energy ()
 Formation energy, normalized per primitive cell. More...
 
double & _potential_energy ()
 Potential energy, normalized per primitive cell. More...
 
Eigen::VectorXd & _corr ()
 Correlations, normalized per primitive cell. More...
 
Eigen::VectorXd & _comp_n ()
 Number of atoms of each type, normalized per primitive cell. More...
 
Clexulator_clexulator () const
 
const ECIContainer_eci () const
 
void _set_nlist (Index l) const
 
void _calc_delta_point_corr (Index l, int new_occ, Eigen::VectorXd &dCorr_comp) const
 
void _set_dCorr (CanonicalEvent &event) const
 Calculate delta correlations for an event. More...
 
void _print_correlations (const Eigen::VectorXd &corr, std::string title, std::string colheader, bool all_correlations) const
 Print correlations to _log() More...
 
void _update_deltas (CanonicalEvent &event) const
 Calculate delta properties for an event and update the event with those properties. More...
 
void _update_properties ()
 Calculate properties given current conditions. More...
 
ConfigDoF _default_motif () const
 Generate supercell filling ConfigDoF from default configuration. More...
 
std::pair< ConfigDoF, std::string > _auto_motif (const CanonicalConditions &cond) const
 Generate minimum potential energy ConfigDoF. More...
 
std::pair< ConfigDoF, std::string > _restricted_auto_motif (const CanonicalConditions &cond) const
 Generate minimum potential energy ConfigDoF for this supercell. More...
 
ConfigDoF _configname_motif (const std::string &configname) const
 Generate supercell filling ConfigDoF from configuration. More...
 
void _make_possible_swaps (const CanonicalSettings &settings)
 Construct m_candidate, m_cand_to_index, m_occ_loc, m_canonical_swaps, m_grand_canonical_swaps. More...
 
std::vector< OccSwap >
::const_iterator 
_find_grand_canonical_swap (const Configuration &config, std::vector< OccSwap >::const_iterator begin, std::vector< OccSwap >::const_iterator end)
 Find a OccSwap to help enforce composition. More...
 
ConfigDoF _enforce_conditions (const ConfigDoF &configdof)
 Enforce composition by repeatedly applying grand canonical events. More...
 

Private Attributes

Clex m_formation_energy_clex
 Holds Clexulator and ECI references. More...
 
Conversions m_convert
 Convert sublat/asym_unit and species/occ index. More...
 
OccCandidateList m_cand
 Convert sublat/asym_unit and species/occ index. More...
 
bool m_all_correlations
 If true, calculate all correlations; if false, calculate correlations with non-zero eci. More...
 
bool m_use_deltas
 If the supercell is large enough, calculate delta correlations directly. More...
 
OccLocation m_occ_loc
 Keeps track of what sites have which occupants. More...
 
CanonicalConditions m_condition
 Conditions (T, mu). Initially determined by m_settings, but can be changed halfway through the run. More...
 
CanonicalEvent m_event
 Event to propose, check, accept/reject: More...
 
double * m_formation_energy
 Formation energy, normalized per primitive cell. More...
 
double * m_potential_energy
 Potential energy, normalized per primitive cell. More...
 
Eigen::VectorXd * m_corr
 Correlations, normalized per primitive cell. More...
 
Eigen::VectorXd * m_comp_n
 Number of atoms of each type, normalized per primitive cell. More...
 

Member Typedef Documentation

Definition at line 39 of file Canonical.hh.

a map of keyname to MonteSampler

  • scalar example: m_sampler["formation_energy"]
  • vector example: m_sampler["corr(12)"]

Definition at line 54 of file MonteCarlo.hh.

a vector of std::pair(pass, step) indicating when samples were taken

Definition at line 57 of file MonteCarlo.hh.

typedef std::map<std::string, double> CASM::MonteCarlo::ScalarPropertyMap
inherited

a map of keyname to property value

  • example: m_scalar_property["formation_energy"]

Definition at line 42 of file MonteCarlo.hh.

Definition at line 37 of file MonteCarlo.hh.

typedef std::map<std::string, Eigen::VectorXd> CASM::MonteCarlo::VectorPropertyMap
inherited

a map of keyname to property value Eigen::VectorXd

  • example: m_vector_property["corr"]

Definition at line 47 of file MonteCarlo.hh.

Constructor & Destructor Documentation

CASM::Monte::Canonical::Canonical ( PrimClex primclex,
const SettingsType settings,
Log log 
)

Constructs a Canonical object and prepares it for running based on MonteSettings.

  • Does not set 'state': conditions or ConfigDoF

Definition at line 18 of file Canonical.cc.

Member Function Documentation

std::pair< ConfigDoF, std::string > CASM::Monte::Canonical::_auto_motif ( const CanonicalConditions cond) const
private

Generate minimum potential energy ConfigDoF.

Raises exception if it doesn't tile the supercell

Definition at line 466 of file Canonical.cc.

void CASM::Monte::Canonical::_calc_delta_point_corr ( Index  l,
int  new_occ,
Eigen::VectorXd &  dCorr_comp 
) const
private

Definition at line 267 of file Canonical.cc.

Clexulator& CASM::Monte::Canonical::_clexulator ( ) const
inlineprivate

Definition at line 139 of file Canonical.hh.

Eigen::VectorXd& CASM::Monte::Canonical::_comp_n ( )
inlineprivate

Number of atoms of each type, normalized per primitive cell.

Definition at line 135 of file Canonical.hh.

Configuration& CASM::MonteCarlo::_config ( ) const
inlineprotectedinherited

Access current microstate.

  • This can be used by a const member if it undoes any changes to the ConfigDoF before returning

Definition at line 196 of file MonteCarlo.hh.

ConfigDoF& CASM::MonteCarlo::_configdof ( ) const
inlineprotectedinherited

Access current microstate.

  • This can be used by a const member if it undoes any changes to the ConfigDoF before returning

Definition at line 204 of file MonteCarlo.hh.

ConfigDoF CASM::Monte::Canonical::_configname_motif ( const std::string &  configname) const
private

Generate supercell filling ConfigDoF from configuration.

Definition at line 476 of file Canonical.cc.

Eigen::VectorXd& CASM::Monte::Canonical::_corr ( )
inlineprivate

Correlations, normalized per primitive cell.

Definition at line 130 of file Canonical.hh.

ConfigDoF CASM::Monte::Canonical::_default_motif ( ) const
private

Generate supercell filling ConfigDoF from default configuration.

Definition at line 456 of file Canonical.cc.

const ECIContainer& CASM::Monte::Canonical::_eci ( ) const
inlineprivate

Definition at line 143 of file Canonical.hh.

ConfigDoF CASM::Monte::Canonical::_enforce_conditions ( const ConfigDoF configdof)
private

Enforce composition by repeatedly applying grand canonical events.

Enforce composition by repeatedly applying GrandCanonicalSwap.

apply chosen swap (*it)

Definition at line 555 of file Canonical.cc.

std::vector< OccSwap >::const_iterator CASM::Monte::Canonical::_find_grand_canonical_swap ( const Configuration config,
std::vector< OccSwap >::const_iterator  begin,
std::vector< OccSwap >::const_iterator  end 
)
private

Find a OccSwap to help enforce composition.

Find a grand canonical OccSwap to help enforce composition.

  • Find the OccSwap that by applying minimizes: (comp_n - conditions().mol_composition()).norm()
  • If cannot be improved, return end
  • If ties, randomly choose weighted by composition

Definition at line 495 of file Canonical.cc.

double& CASM::Monte::Canonical::_formation_energy ( )
inlineprivate

Formation energy, normalized per primitive cell.

Definition at line 120 of file Canonical.hh.

Log& CASM::MonteCarlo::_log ( ) const
inlineprotectedinherited

Definition at line 208 of file MonteCarlo.hh.

void CASM::Monte::Canonical::_make_possible_swaps ( const CanonicalSettings settings)
private

Construct m_candidate, m_cand_to_index, m_occ_loc, m_canonical_swaps, m_grand_canonical_swaps.

MTRand& CASM::MonteCarlo::_mtrand ( )
inlineprotectedinherited

Definition at line 212 of file MonteCarlo.hh.

double& CASM::Monte::Canonical::_potential_energy ( )
inlineprivate

Potential energy, normalized per primitive cell.

Definition at line 125 of file Canonical.hh.

PrimClex& CASM::MonteCarlo::_primclex ( ) const
inlineprotectedinherited

Access the PrimClex that *this is based on.

Definition at line 183 of file MonteCarlo.hh.

void CASM::Monte::Canonical::_print_correlations ( const Eigen::VectorXd &  corr,
std::string  title,
std::string  colheader,
bool  all_correlations 
) const
private

Print correlations to _log()

Definition at line 365 of file Canonical.cc.

std::pair< ConfigDoF, std::string > CASM::Monte::Canonical::_restricted_auto_motif ( const CanonicalConditions cond) const
private

Generate minimum potential energy ConfigDoF for this supercell.

Definition at line 471 of file Canonical.cc.

ScalarPropertyMap& CASM::MonteCarlo::_scalar_properties ( )
inlineprotectedinherited

Access scalar properties map.

Definition at line 217 of file MonteCarlo.hh.

double& CASM::MonteCarlo::_scalar_property ( std::string  property_name)
inlineprotectedinherited

Access a particular scalar property.

Definition at line 222 of file MonteCarlo.hh.

void CASM::Monte::Canonical::_set_dCorr ( CanonicalEvent event) const
private

Calculate delta correlations for an event.

Definition at line 330 of file Canonical.cc.

void CASM::Monte::Canonical::_set_nlist ( Index  l) const
private

Definition at line 263 of file Canonical.cc.

Supercell& CASM::MonteCarlo::_supercell ( ) const
inlineprotectedinherited

Access the Supercell that *this is based on.

Definition at line 188 of file MonteCarlo.hh.

void CASM::Monte::Canonical::_update_deltas ( CanonicalEvent event) const
private

Calculate delta properties for an event and update the event with those properties.

Update delta properties in 'event'.

Definition at line 404 of file Canonical.cc.

void CASM::Monte::Canonical::_update_properties ( )
private

Calculate properties given current conditions.

Definition at line 414 of file Canonical.cc.

VectorPropertyMap& CASM::MonteCarlo::_vector_properties ( )
inlineprotectedinherited

const Access vector properties map

Definition at line 227 of file MonteCarlo.hh.

Eigen::VectorXd& CASM::MonteCarlo::_vector_property ( std::string  property_name)
inlineprotectedinherited

const Access a particular vector property

Definition at line 232 of file MonteCarlo.hh.

void CASM::Monte::Canonical::accept ( const EventType event)

Accept proposed event. Change configuration accordingly and update energies etc.

Once you've found an event that passes the random number test, you want to accept it. This routine will apply all the changes in the event to *this (change occupation of one atom) and update the formation energy, generalized enthalpy, number of species and correlations values.

Definition at line 215 of file Canonical.cc.

bool CASM::Monte::Canonical::check ( const EventType event)

Based on a random number, decide if the change in energy from the proposed event is low enough to be accepted.

Definition at line 186 of file Canonical.cc.

bool CASM::MonteCarlo::check_convergence_time ( ) const
inherited

Returns true if a convergence check is due.

Currently set to every 10 samples

Definition at line 188 of file MonteCarlo.cc.

void CASM::Monte::Canonical::check_corr ( )
inline

Definition at line 83 of file Canonical.hh.

void CASM::MonteCarlo::clear_samples ( )
inherited

Clear all data from all samplers.

Definition at line 46 of file MonteCarlo.cc.

const Eigen::VectorXd& CASM::Monte::Canonical::comp_n ( ) const
inline

Number of atoms of each type, normalized per primitive cell.

Definition at line 109 of file Canonical.hh.

const Canonical::CondType & CASM::Monte::Canonical::conditions ( ) const

Return current conditions.

Definition at line 71 of file Canonical.cc.

const Configuration& CASM::MonteCarlo::config ( ) const
inlineinherited

const Access current microstate

Definition at line 88 of file MonteCarlo.hh.

const ConfigDoF& CASM::MonteCarlo::configdof ( ) const
inlineinherited

const Access current microstate

Definition at line 93 of file MonteCarlo.hh.

const Eigen::VectorXd& CASM::Monte::Canonical::corr ( ) const
inline

Correlations, normalized per primitive cell.

Definition at line 104 of file Canonical.hh.

bool CASM::MonteCarlo::debug ( ) const
inlineinherited

return true if running in debug mode

Definition at line 171 of file MonteCarlo.hh.

const double& CASM::Monte::Canonical::formation_energy ( ) const
inline

Formation energy, normalized per primitive cell.

Definition at line 94 of file Canonical.hh.

bool CASM::MonteCarlo::is_converged ( ) const
inherited

Check to see if all the properties required to converge have converged.

  • Calls is_equilibrated() to check if required equilibration has occured
  • If equilibrated, checks if the required convergence has occured for all sampler that must converge
  • Convergence is checked only for the range of observations that were taken after all samplers that must converge have equilibrated

Definition at line 122 of file MonteCarlo.cc.

std::pair< bool, MonteSampler::size_type > CASM::MonteCarlo::is_equilibrated ( ) const
inherited

Returns pair(true, equil_samples) if required equilibration has occured for all samplers that must converge.

  • equil_samples is the number of samples required for all samplers that must equilibrate to equilibrate
  • If must_converge() == false, always returns false

Definition at line 63 of file MonteCarlo.cc.

bool CASM::MonteCarlo::must_converge ( ) const
inlineinherited

Return true if convergence is requested.

Definition at line 139 of file MonteCarlo.hh.

const SuperNeighborList& CASM::MonteCarlo::nlist ( ) const
inlineinherited

const Access the SuperNeighborList via pointer stored by 'set_nlist'

Definition at line 83 of file MonteCarlo.hh.

const double& CASM::Monte::Canonical::potential_energy ( ) const
inline

Potential energy, normalized per primitive cell.

Definition at line 99 of file Canonical.hh.

double CASM::Monte::Canonical::potential_energy ( const Configuration config) const

Get potential energy.

Definition at line 256 of file Canonical.cc.

const PrimClex& CASM::MonteCarlo::primclex ( ) const
inlineinherited

const Access the PrimClex that *this is based on

Definition at line 68 of file MonteCarlo.hh.

const Canonical::EventType & CASM::Monte::Canonical::propose ( )

Propose a new event, calculate delta properties, and return reference to it.

Randomly picks a site that's allowed more than one occupant, and randomly picks what occupant it changes to. Then calculates delta properties associated with that change.

Definition at line 179 of file Canonical.cc.

void CASM::Monte::Canonical::reject ( const EventType event)

Nothing needs to be done to reject a CanonicalEvent.

Definition at line 235 of file Canonical.cc.

void CASM::MonteCarlo::reset ( const ConfigDoF dof)
inlineinherited

Set current microstate and clear samplers.

Definition at line 101 of file MonteCarlo.hh.

void CASM::MonteCarlo::sample_data ( const MonteCounter counter)
inherited

Samples all requested property data, and stores pass and step number sample was taken at.

Definition at line 29 of file MonteCarlo.cc.

const SampleTimes& CASM::MonteCarlo::sample_times ( ) const
inlineinherited

const Access a vector of std::pair<pass, step> indicating when samples were taken

Definition at line 158 of file MonteCarlo.hh.

const SamplerMap& CASM::MonteCarlo::samplers ( ) const
inlineinherited

const Access sampler map

Definition at line 153 of file MonteCarlo.hh.

const ScalarPropertyMap& CASM::MonteCarlo::scalar_properties ( ) const
inlineinherited

const Access scalar properties map

Definition at line 110 of file MonteCarlo.hh.

const double& CASM::MonteCarlo::scalar_property ( std::string  property_name) const
inlineinherited

const Access a particular scalar property

Definition at line 115 of file MonteCarlo.hh.

void CASM::Monte::Canonical::set_conditions ( const CondType new_conditions)

Set conditions and clear previously collected data.

Definition at line 77 of file Canonical.cc.

void CASM::Monte::Canonical::set_configdof ( const ConfigDoF configdof,
const std::string &  msg = "" 
)

Set configdof and clear previously collected data.

Definition at line 90 of file Canonical.cc.

void CASM::MonteCarlo::set_nlist ( )
inlineinherited

Set a pointer to the SuperNeighborList once it is ready.

Definition at line 78 of file MonteCarlo.hh.

std::pair< ConfigDoF, std::string > CASM::Monte::Canonical::set_state ( const CanonicalConditions new_conditions,
const CanonicalSettings settings 
)

Set configdof and conditions and clear previously collected data.

Returns
Specified ConfigDoF and configname (or configdof path)

Definition at line 105 of file Canonical.cc.

void CASM::Monte::Canonical::set_state ( const CondType new_conditions,
const ConfigDoF configdof,
const std::string &  msg = "" 
)

Set configdof and conditions and clear previously collected data.

Definition at line 153 of file Canonical.cc.

const MonteSettings& CASM::MonteCarlo::settings ( ) const
inlineinherited

const Access settings used for construction

Definition at line 63 of file MonteCarlo.hh.

Index CASM::Monte::Canonical::steps_per_pass ( ) const

Return number of steps per pass. Equals number of sites with variable occupation.

Definition at line 65 of file Canonical.cc.

const Supercell& CASM::MonteCarlo::supercell ( ) const
inlineinherited

const Access the Supercell that *this is based on

Definition at line 73 of file MonteCarlo.hh.

const std::vector<ConfigDoF>& CASM::MonteCarlo::trajectory ( ) const
inlineinherited

const Access snapshots of the Monte Carlo calculation

If requested, snapshots are taken at the same time as samples. So examine sample_times for pass and step information.

Definition at line 166 of file MonteCarlo.hh.

const VectorPropertyMap& CASM::MonteCarlo::vector_properties ( ) const
inlineinherited

const Access vector properties map

Definition at line 120 of file MonteCarlo.hh.

const Eigen::VectorXd& CASM::MonteCarlo::vector_property ( std::string  property_name) const
inlineinherited

const Access a particular vector property

Definition at line 125 of file MonteCarlo.hh.

void CASM::Monte::Canonical::write_results ( Index  cond_index) const

Write results to files.

Definition at line 244 of file Canonical.cc.

Member Data Documentation

const ENSEMBLE CASM::Monte::Canonical::ensemble = ENSEMBLE::Canonical
static

Definition at line 38 of file Canonical.hh.

bool CASM::Monte::Canonical::m_all_correlations
private

If true, calculate all correlations; if false, calculate correlations with non-zero eci.

Definition at line 201 of file Canonical.hh.

OccCandidateList CASM::Monte::Canonical::m_cand
private

Convert sublat/asym_unit and species/occ index.

Definition at line 198 of file Canonical.hh.

Eigen::VectorXd* CASM::Monte::Canonical::m_comp_n
private

Number of atoms of each type, normalized per primitive cell.

Definition at line 229 of file Canonical.hh.

CanonicalConditions CASM::Monte::Canonical::m_condition
private

Conditions (T, mu). Initially determined by m_settings, but can be changed halfway through the run.

Definition at line 211 of file Canonical.hh.

Conversions CASM::Monte::Canonical::m_convert
private

Convert sublat/asym_unit and species/occ index.

Definition at line 195 of file Canonical.hh.

Eigen::VectorXd* CASM::Monte::Canonical::m_corr
private

Correlations, normalized per primitive cell.

Definition at line 226 of file Canonical.hh.

CanonicalEvent CASM::Monte::Canonical::m_event
private

Event to propose, check, accept/reject:

Definition at line 214 of file Canonical.hh.

double* CASM::Monte::Canonical::m_formation_energy
private

Formation energy, normalized per primitive cell.

Definition at line 220 of file Canonical.hh.

Clex CASM::Monte::Canonical::m_formation_energy_clex
private

Holds Clexulator and ECI references.

Definition at line 192 of file Canonical.hh.

OccLocation CASM::Monte::Canonical::m_occ_loc
private

Keeps track of what sites have which occupants.

Definition at line 208 of file Canonical.hh.

double* CASM::Monte::Canonical::m_potential_energy
private

Potential energy, normalized per primitive cell.

Definition at line 223 of file Canonical.hh.

bool CASM::Monte::Canonical::m_use_deltas
private

If the supercell is large enough, calculate delta correlations directly.

Definition at line 205 of file Canonical.hh.


The documentation for this class was generated from the following files: