CASM  1.1.0
A Clusters Approach to Statistical Mechanics
HasPrimClex.hh
Go to the documentation of this file.
1 #ifndef CASM_HasPrimClex
2 #define CASM_HasPrimClex
3 
4 namespace CASM {
5 
6 class PrimClex;
7 class Structure;
8 
13 template <typename Base>
14 class HasPrimClex : public Base {
15  public:
16  typedef typename Base::MostDerived MostDerived;
17  using Base::derived;
18 
19  const Structure &prim() const;
20 
21  double crystallography_tol() const;
22 };
23 
24 } // namespace CASM
25 
26 #endif
Implements PrimClex dependent functions.
Definition: HasPrimClex.hh:14
const Structure & prim() const
Base::MostDerived MostDerived
Definition: HasPrimClex.hh:16
double crystallography_tol() const
Structure specifies the lattice and atomic basis of a crystal.
Definition: Structure.hh:30
Main CASM namespace.
Definition: APICommand.hh:8