CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <UnitCellCoord.hh>
Unit Cell Coordinates.
Definition at line 120 of file UnitCellCoord.hh.
Public Types | |
typedef BasicStructure | PrimType |
typedef Base::MostDerived | MostDerived |
Public Member Functions | |
UnitCellCoord (Index _sublat, const UnitCell &_unitcell) | |
UnitCellCoord (Index _sublat, Index i, Index j, Index k) | |
UnitCellCoord () | |
UnitCellCoord (const UnitCellCoord &B)=default | |
UnitCellCoord & | operator= (const UnitCellCoord &B)=default |
UnitCellCoord (UnitCellCoord &&B)=default | |
UnitCellCoord & | operator= (UnitCellCoord &&B)=default |
const UnitCell & | unitcell () const |
Index | sublattice () const |
Coordinate | coordinate (const PrimType &prim) const |
Get corresponding coordinate. More... | |
Site | site (const PrimType &prim) const |
Get a copy of corresponding site. More... | |
const Site & | sublattice_site (const PrimType &prim) const |
Get reference to corresponding sublattice site in the unit structure. More... | |
bool | operator> (const MostDerived &B) const |
bool | operator<= (const MostDerived &B) const |
bool | operator>= (const MostDerived &B) const |
bool | operator== (const MostDerived &B) const |
bool | operator!= (const MostDerived &B) const |
Static Public Member Functions | |
static UnitCellCoord | from_coordinate (const PrimType &, const Coordinate &coord, double tol) |
Protected Member Functions | |
bool | eq_impl (const MostDerived &B) const |
bool | ne_impl (const MostDerived &B) const |
Private Member Functions | |
UnitCell & | _unitcell () |
Index & | _sublattice () |
bool | _is_compatible_with_prim (const PrimType &prim) const |
Static Private Member Functions | |
static void | _throw_incompatible_primitive_cell () |
Private Attributes | |
UnitCell | m_unitcell |
Index | m_sublat |
Friends | |
struct | Comparisons< Translatable< CRTPBase< UnitCellCoord > > > |
make _eq accessible More... | |
Index | operator[] (Index i) const |
UnitCellCoord & | operator+= (UnitCell frac) |
bool | operator< (const UnitCellCoord &B) const |
Compare UnitCellCoord. More... | |
bool | eq_impl (const UnitCellCoord &B) const |
|
inherited |
Definition at line 27 of file Comparisons.hh.
Definition at line 123 of file UnitCellCoord.hh.
Definition at line 125 of file UnitCellCoord.hh.
Definition at line 134 of file UnitCellCoord.hh.
|
inlineexplicit |
Definition at line 137 of file UnitCellCoord.hh.
|
default |
|
default |
|
private |
Returns false if the sublattice of *this is greater than the number of sites in the given prmitive structure
Definition at line 78 of file UnitCellCoord.cc.
|
inlineprivate |
Definition at line 176 of file UnitCellCoord.hh.
|
staticprivate |
Definition at line 82 of file UnitCellCoord.cc.
|
inlineprivate |
Definition at line 174 of file UnitCellCoord.hh.
Coordinate CASM::xtal::UnitCellCoord::coordinate | ( | const PrimType & | prim | ) | const |
Get corresponding coordinate.
Definition at line 74 of file UnitCellCoord.cc.
|
inlineprotectedinherited |
Definition at line 40 of file Comparisons.hh.
|
inlineprivate |
Definition at line 225 of file UnitCellCoord.hh.
|
static |
Definition at line 54 of file UnitCellCoord.cc.
|
inlineprotectedinherited |
Definition at line 44 of file Comparisons.hh.
|
inlineinherited |
Definition at line 37 of file Comparisons.hh.
|
inline |
Definition at line 202 of file UnitCellCoord.hh.
|
inline |
Compare UnitCellCoord.
Definition at line 208 of file UnitCellCoord.hh.
|
inlineinherited |
Definition at line 31 of file Comparisons.hh.
|
default |
|
default |
|
inlineinherited |
Definition at line 35 of file Comparisons.hh.
|
inlineinherited |
Definition at line 29 of file Comparisons.hh.
|
inlineinherited |
Definition at line 33 of file Comparisons.hh.
Definition at line 195 of file UnitCellCoord.hh.
Get a copy of corresponding site.
Get corresponding site.
Definition at line 88 of file UnitCellCoord.cc.
|
inline |
Definition at line 152 of file UnitCellCoord.hh.
Get reference to corresponding sublattice site in the unit structure.
Definition at line 97 of file UnitCellCoord.cc.
|
inline |
Definition at line 150 of file UnitCellCoord.hh.
|
friend |
make _eq accessible
Definition at line 168 of file UnitCellCoord.hh.
|
private |
Definition at line 188 of file UnitCellCoord.hh.
|
private |
Definition at line 187 of file UnitCellCoord.hh.