oILAB
|
#include <LandauWangTP.h>
Public Member Functions | |
LandauWangTP (const std::tuple< double, double, int > &energyLimits, const std::string &lmpLocation, const std::string &potentialName) | |
LandauWangTP (const std::tuple< double, double, int > &energyLimits, const std::tuple< double, double, int > &densityLimits, const std::string &lmpLocation, const std::string &potentialName) | |
double | probability (const std::pair< StateType, SystemType > &proposedState, const std::pair< StateType, SystemType > ¤tState) |
void | writeTheta (const std::string &filename) const |
![]() | |
EvolutionAlgorithm () | |
bool | acceptMove (const std::pair< StateType, SystemType > &proposedStateSystem, const std::pair< StateType, SystemType > ¤tStateSystem) const |
Data Fields | |
Eigen::Matrix< bool, Eigen::Dynamic, Eigen::Dynamic > | mask |
Eigen::MatrixXd | theta |
![]() | |
LandauWangTP< StateType, SystemType > & | transitionProbability |
Private Member Functions | |
bool | histogramIsFlat (const double &c) const |
Static Private Member Functions | |
static std::tuple< int, int, bool > | spectrumIndex (const double &energy, const double &density, const std::tuple< double, double, int > &energyLimits, const std::tuple< double, double, int > &densityLimits) |
static Eigen::Matrix< bool, Eigen::Dynamic, Eigen::Dynamic > | getMask (const int &numberOfEnergyStates, const int &numberOfDensityStates) |
static std::map< StateType, std::pair< double, double > > | getStateDensityEnergyMap () |
static Eigen::MatrixXd | getTheta (const Eigen::Matrix< bool, Eigen::Dynamic, Eigen::Dynamic > &mask, double &f) |
Private Attributes | |
bool | exponentialRegime |
double | f |
int | countLW |
double | currentEnergy |
double | currentDensity |
const std::tuple< double, double, int > | energyLimits |
const std::tuple< double, double, int > | densityLimits |
const int | numberOfEnergyStates |
const int | numberOfDensityStates |
Eigen::MatrixXi | histogram |
std::map< StateType, std::pair< double, double > > | stateDensityEnergyMap |
std::ofstream | spectrumFile |
std::string | lmpLocation |
std::string | potentialName |
Definition at line 17 of file LandauWangTP.h.
|
explicit |
Definition at line 16 of file LandauWangTPImplementation.h.
gbLAB::LandauWangTP< StateType, SystemType >::LandauWangTP | ( | const std::tuple< double, double, int > & | energyLimits, |
const std::tuple< double, double, int > & | densityLimits, | ||
const std::string & | lmpLocation, | ||
const std::string & | potentialName | ||
) |
Definition at line 23 of file LandauWangTPImplementation.h.
|
staticprivate |
Definition at line 208 of file LandauWangTPImplementation.h.
|
staticprivate |
Definition at line 233 of file LandauWangTPImplementation.h.
|
staticprivate |
Definition at line 269 of file LandauWangTPImplementation.h.
|
private |
Definition at line 153 of file LandauWangTPImplementation.h.
double gbLAB::LandauWangTP< StateType, SystemType >::probability | ( | const std::pair< StateType, SystemType > & | proposedState, |
const std::pair< StateType, SystemType > & | currentState | ||
) |
Definition at line 52 of file LandauWangTPImplementation.h.
|
staticprivate |
Definition at line 188 of file LandauWangTPImplementation.h.
void gbLAB::LandauWangTP< StateType, SystemType >::writeTheta | ( | const std::string & | filename | ) | const |
Definition at line 326 of file LandauWangTPImplementation.h.
|
private |
Definition at line 21 of file LandauWangTP.h.
|
private |
Definition at line 22 of file LandauWangTP.h.
|
private |
Definition at line 22 of file LandauWangTP.h.
|
private |
Definition at line 23 of file LandauWangTP.h.
|
private |
Definition at line 23 of file LandauWangTP.h.
|
private |
Definition at line 19 of file LandauWangTP.h.
|
private |
Definition at line 20 of file LandauWangTP.h.
|
private |
Definition at line 25 of file LandauWangTP.h.
|
private |
Definition at line 28 of file LandauWangTP.h.
Eigen::Matrix<bool,Eigen::Dynamic,Eigen::Dynamic> gbLAB::LandauWangTP< StateType, SystemType >::mask |
Definition at line 44 of file LandauWangTP.h.
|
private |
Definition at line 24 of file LandauWangTP.h.
|
private |
Definition at line 24 of file LandauWangTP.h.
|
private |
Definition at line 29 of file LandauWangTP.h.
|
private |
Definition at line 27 of file LandauWangTP.h.
|
private |
Definition at line 26 of file LandauWangTP.h.
Eigen::MatrixXd gbLAB::LandauWangTP< StateType, SystemType >::theta |
Definition at line 45 of file LandauWangTP.h.