CASM  1.1.0
A Clusters Approach to Statistical Mechanics
HasSupercell_impl.hh
Go to the documentation of this file.
1 #ifndef CASM_HasSupercell_impl
2 #define CASM_HasSupercell_impl
3 
5 
6 namespace CASM {
7 
8 template <typename Base>
10  return derived().supercell().prim();
11 }
12 
13 template <typename Base>
14 std::shared_ptr<Structure const> const &HasSupercell<Base>::shared_prim()
15  const {
16  return derived().supercell().shared_prim();
17 }
18 
19 template <typename Base>
21  return derived().supercell().crystallography_tol();
22 }
23 
24 template <typename Base>
26  return derived().supercell().has_primclex();
27 }
28 
29 template <typename Base>
31  return derived().supercell().primclex();
32 }
33 
34 } // namespace CASM
35 
36 #endif
double crystallography_tol() const
std::shared_ptr< Structure const > const & shared_prim() const
const PrimClex & primclex() const
bool has_primclex() const
const Structure & prim() const
PrimClex is the top-level data structure for a CASM project.
Definition: PrimClex.hh:55
Structure specifies the lattice and atomic basis of a crystal.
Definition: Structure.hh:30
Main CASM namespace.
Definition: APICommand.hh:8