CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <FillSupercell.hh>
Functor to fill a Supercell with a tiling of a motif Configuration
Note:
Definition at line 90 of file FillSupercell.hh.
Public Member Functions | |
FillSupercell (std::shared_ptr< Supercell const > const &_shared_supercell) | |
Constructor. More... | |
FillSupercell (Supercell const &_supercell) | |
Constructor. More... | |
Configuration | operator() (Configuration const &motif) const |
Configuration | operator() (SymOp const &_symop, Configuration const &motif) const |
const SymOp * | find_symop (xtal::Lattice const &_motif_lattice) const |
Find first SymOp in the prim factor group such that apply(op, motif) can be used to fill the Supercell. More... | |
const SymOp & | symop () const |
Returns the SymOp used by operator() More... | |
Private Member Functions | |
void | _init (Supercell const &_motif_scel) const |
Private Attributes | |
std::shared_ptr< Supercell const > | m_shared_supercell |
Supercell const * | m_supercell_ptr |
SymOp const * | m_symop_ptr |
Supercell const * | m_motif_supercell |
std::vector< std::vector< Index > > | m_index_table |
CASM::FillSupercell::FillSupercell | ( | std::shared_ptr< Supercell const > const & | _shared_supercell | ) |
Constructor.
Constructor, so that the generated super configuration uses std::shared_ptr<Supercell>
_shared_supercell | Supercell to be filled |
_scel | Supercell to be filled |
_op | SymOp that transforms the input motif before tiling into the Supercell that is filled |
Definition at line 83 of file FillSupercell.cc.
CASM::FillSupercell::FillSupercell | ( | Supercell const & | _supercell | ) |
|
private |
Definition at line 185 of file FillSupercell.cc.
SymOp const * CASM::FillSupercell::find_symop | ( | xtal::Lattice const & | _motif_lattice | ) | const |
Configuration CASM::FillSupercell::operator() | ( | Configuration const & | motif | ) | const |
Create a super configuration by tiling the motif Configuration into the supercell.
Note:
Definition at line 100 of file FillSupercell.cc.
Configuration CASM::FillSupercell::operator() | ( | SymOp const & | _symop, |
Configuration const & | motif | ||
) | const |
Create a super configuration by tiling the apply(symop, motif) Configuration into the supercell
Definition at line 108 of file FillSupercell.cc.
|
inline |
Returns the SymOp used by operator()
Definition at line 126 of file FillSupercell.hh.
|
mutableprivate |
Definition at line 140 of file FillSupercell.hh.
|
mutableprivate |
Definition at line 139 of file FillSupercell.hh.
|
private |
Definition at line 131 of file FillSupercell.hh.
|
private |
Definition at line 132 of file FillSupercell.hh.
|
mutableprivate |
Definition at line 138 of file FillSupercell.hh.