CASM  1.1.0
A Clusters Approach to Statistical Mechanics
SupercellTraits.hh
Go to the documentation of this file.
1 #ifndef CASM_SupercellTraits
2 #define CASM_SupercellTraits
3 
4 #include <string>
5 
6 namespace CASM {
7 template <typename T>
8 struct traits;
9 
10 class Supercell;
11 
12 template <>
13 struct traits<Supercell> {
14  static const std::string name;
15  static const std::string short_name;
16  static bool name_compare(std::string A, std::string B);
17 };
18 } // namespace CASM
19 
20 #endif
Represents a supercell of the primitive parent crystal structure.
Definition: Supercell.hh:51
Traits const & traits(std::string const &dof_key)
Lookup DoFType::Traits in the global dictionary.
Definition: DoFTraits.cc:46
Main CASM namespace.
Definition: APICommand.hh:8
static const std::string short_name
static const std::string name