CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
MonteDefinitions.cc
Go to the documentation of this file.
2 
3 namespace CASM {
4 
5  const std::string traits<Monte::ENSEMBLE>::name = "ensemble";
6 
7  const std::multimap<Monte::ENSEMBLE, std::vector<std::string> > traits<Monte::ENSEMBLE>::strval = {
8  {Monte::ENSEMBLE::GrandCanonical, {"GrandCanonical", "grand_canonical"} },
9  {Monte::ENSEMBLE::Canonical, {"Canonical", "canonical"} }
10  };
11 
12 
13  const std::string traits<Monte::METHOD>::name = "method";
14 
15  const std::multimap<Monte::METHOD, std::vector<std::string> > traits<Monte::METHOD>::strval = {
16  {Monte::METHOD::Metropolis, {"Metropolis", "metropolis"} },
17  {Monte::METHOD::LTE1, {"LTE1", "lte1"} }
18  };
19 
20 
21  const std::string traits<Monte::SAMPLE_MODE>::name = "sample_by";
22 
23  const std::multimap<Monte::SAMPLE_MODE, std::vector<std::string> > traits<Monte::SAMPLE_MODE>::strval = {
24  {Monte::SAMPLE_MODE::STEP, {"Step", "step"} },
25  {Monte::SAMPLE_MODE::PASS, {"Pass", "pass"} }
26  };
27 
28 
29  const std::string traits<Monte::DRIVE_MODE>::name = "mode";
30 
31  const std::multimap<Monte::DRIVE_MODE, std::vector<std::string> > traits<Monte::DRIVE_MODE>::strval = {
32  {Monte::DRIVE_MODE::INCREMENTAL, {"Incremental", "incremental"} },
33  {Monte::DRIVE_MODE::CUSTOM, {"Custom", "custom"} }
34  };
35 
36  const std::string traits<Monte::ENUM_SAMPLE_MODE>::name = "sample_mode";
37 
38  const std::multimap<Monte::ENUM_SAMPLE_MODE, std::vector<std::string> > traits<Monte::ENUM_SAMPLE_MODE>::strval = {
39  {Monte::ENUM_SAMPLE_MODE::ON_ACCEPT, {"on_accept"} },
40  {Monte::ENUM_SAMPLE_MODE::ON_SAMPLE, {"on_sample"} }
41  };
42 
43 }
44 
Main CASM namespace.
Definition: complete.cpp:8