CASM  1.1.0
A Clusters Approach to Statistical Mechanics
IntegralClusterSymCompareTraits.hh
Go to the documentation of this file.
1 #ifndef CASM_IntegralClusterSymCompareTraits
2 #define CASM_IntegralClusterSymCompareTraits
3 
6 
7 namespace CASM {
8 
9 namespace xtal {
10 class UnitCellCoord;
11 }
12 
13 class ClusterInvariants;
14 class IntegralCluster;
15 class SymOp;
16 
34 template <typename SymCompareType>
38 
40  static xtal::UnitCellCoord position(IntegralCluster const &clust,
41  SymCompareType const &sym_compare);
42 
43  static Element copy_apply(SymOp const &op, IntegralCluster const &clust,
44  SymCompareType const &sym_compare);
45 
47  SymCompareType const &sym_compare);
48 };
49 
50 template <>
53  AperiodicSymCompare<IntegralCluster>> {};
54 
55 template <>
58  PrimPeriodicSymCompare<IntegralCluster>> {};
59 
60 template <>
63  ScelPeriodicSymCompare<IntegralCluster>> {};
64 
69 
70 } // namespace CASM
71 
72 #endif
Template class to be specialized for comparisons with aperiodic symmetry.
Stores cluster invariants: number of sites and site distances.
An Orbit of Element.
Definition: Orbit.hh:43
Template class to be specialized for comparisons with periodic symmetry of the primitive lattice.
Template class to be specialized for comparisons with periodic symmetry of the supercell lattice.
SymOp is the Coordinate representation of a symmetry operation it keeps fraction (FRAC) and Cartesian...
Definition: SymOp.hh:28
Unit Cell Coordinates.
Main CASM namespace.
Definition: APICommand.hh:8
PrimPeriodicOrbit< IntegralCluster > PrimPeriodicIntegralClusterOrbit
ScelPeriodicOrbit< IntegralCluster > ScelPeriodicIntegralClusterOrbit
AperiodicOrbit< IntegralCluster > AperiodicIntegralClusterOrbit
LocalOrbit< IntegralCluster > LocalIntegralClusterOrbit
static xtal::UnitCellCoord position(IntegralCluster const &clust, SymCompareType const &sym_compare)
Returns clust[0].
static ClusterInvariants make_invariants(IntegralCluster const &clust, SymCompareType const &sym_compare)
static Element copy_apply(SymOp const &op, IntegralCluster const &clust, SymCompareType const &sym_compare)