CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
ConfigEnumInterpolation.hh
Go to the documentation of this file.
1 #ifndef CASM_ConfigEnumInterpolation
2 #define CASM_ConfigEnumInterpolation
3 
6 
7 extern "C" {
9 }
10 
11 namespace CASM {
12 
18  class ConfigEnumInterpolation : public RandomAccessEnumeratorBase<Configuration> {
19 
20  // -- Required members -------------------
21 
22  public:
23 
24  ConfigEnumInterpolation(const value_type &_initial, const value_type &_final, Index _size);
25 
26  std::string name() const override {
27  return enumerator_name;
28  }
29 
30  static const std::string enumerator_name;
31  static const std::string interface_help;
32  static int run(PrimClex &primclex, const jsonParser &kwargs, const Completer::EnumOption &enum_opt);
33 
34  private:
35 
37  Configuration *at_step(step_type n) override;
38 
39 
40  // -- Unique members -------------------
41 
45 
48 
49  };
50 
51 }
52 
53 #endif
ConfigEnumInterpolation(const value_type &_initial, const value_type &_final, Index _size)
Constructor.
Configuration * at_step(step_type n) override
Implements goto_step.
PrimClex * primclex
Definition: settings.cc:101
Base class for generic use of enumerators that may be accessed through the API.
Definition: Enumerator.hh:418
Main CASM namespace.
Definition: complete.cpp:8
static const std::string enumerator_name
CASM::EnumInterfaceBase * make_ConfigEnumInterpolation_interface()
EigenIndex Index
For long integer indexing:
Base class for implementing specialized random access enumerators.
PrimClex is the top-level data structure for a CASM project.
Definition: PrimClex.hh:52
static const std::string interface_help
static int run(PrimClex &primclex, const jsonParser &kwargs, const Completer::EnumOption &enum_opt)
Eigen::Matrix3d Matrix3d
ConfigDoF::displacement_matrix_t displacement_matrix_t
std::string name() const override
Derived enumerators must implement name, via ENUM_MEMBERS.
value_type::displacement_matrix_t m_displacement_inc
A Configuration represents the values of all degrees of freedom in a Supercell.