CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
CASM::ScelEnumProps Class Reference

#include <SupercellEnumerator.hh>

Detailed Description

Data structure for holding supercell enumeration properties.

Definition at line 30 of file SupercellEnumerator.hh.

Public Types

typedef long size_type
 

Public Member Functions

 ScelEnumProps (size_type begin_volume, size_type end_volume, std::string dirs="abc", Eigen::Matrix3i generating_matrix=Eigen::Matrix3i::Identity())
 Constructor. More...
 
size_type begin_volume () const
 
size_type end_volume () const
 
int dims () const
 
std::string dirs () const
 
Eigen::Matrix3i generating_matrix () const
 

Private Attributes

size_type m_begin_volume
 
size_type m_end_volume
 
int m_dims
 
std::string m_dirs
 
Eigen::Matrix3i m_gen_mat
 

Member Typedef Documentation

Definition at line 34 of file SupercellEnumerator.hh.

Constructor & Destructor Documentation

CASM::ScelEnumProps::ScelEnumProps ( size_type  begin_volume,
size_type  end_volume,
std::string  dirs = "abc",
Eigen::Matrix3i  generating_matrix = Eigen::Matrix3i::Identity() 
)
inline

Constructor.

Parameters
begin_volumeThe beginning volume to enumerate
end_volumeThe past-the-last volume to enumerate
dirsString indicating which lattice vectors to enumerate over. Some combination of 'a', 'b', and 'c', where 'a' indicates the first lattice vector of the unit cell, 'b' the second, and 'c' the third.
generating_matrixThis matrix, G, transforms the primitive lattice vectors into the unit cell lattice vectors which are used to generate supercells. So the generated supercells, S = P*G*T, where S and P are column vector matrices of the supercell and primitive cell, respectively, and G and T are integer tranformation matrices.

Definition at line 49 of file SupercellEnumerator.hh.

Member Function Documentation

size_type CASM::ScelEnumProps::begin_volume ( ) const
inline

Definition at line 89 of file SupercellEnumerator.hh.

int CASM::ScelEnumProps::dims ( ) const
inline

Definition at line 97 of file SupercellEnumerator.hh.

std::string CASM::ScelEnumProps::dirs ( ) const
inline

Definition at line 101 of file SupercellEnumerator.hh.

size_type CASM::ScelEnumProps::end_volume ( ) const
inline

Definition at line 93 of file SupercellEnumerator.hh.

Eigen::Matrix3i CASM::ScelEnumProps::generating_matrix ( ) const
inline

Definition at line 105 of file SupercellEnumerator.hh.

Member Data Documentation

size_type CASM::ScelEnumProps::m_begin_volume
private

Definition at line 111 of file SupercellEnumerator.hh.

int CASM::ScelEnumProps::m_dims
private

Definition at line 113 of file SupercellEnumerator.hh.

std::string CASM::ScelEnumProps::m_dirs
private

Definition at line 114 of file SupercellEnumerator.hh.

size_type CASM::ScelEnumProps::m_end_volume
private

Definition at line 112 of file SupercellEnumerator.hh.

Eigen::Matrix3i CASM::ScelEnumProps::m_gen_mat
private

Definition at line 115 of file SupercellEnumerator.hh.


The documentation for this class was generated from the following file: