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

#include <SymMatrixXd.hh>

+ Inheritance diagram for CASM::SymMatrixXd:

Detailed Description

Generalized symmetry matrix representation for arbitrary dimension Can be used to describe application of symmetry to N-dimensional vector spaces Use for 3-dimensional transformations if they do not describe coordinate transformations.

Definition at line 22 of file SymMatrixXd.hh.

Public Member Functions

 SymMatrixXd (const Eigen::MatrixXd &init_mat)
 
SymOpRepresentationcopy () const override
 Make copy of Derived object through Base-class interface. More...
 
Eigen::MatrixXd const * get_MatrixXd () const override
 
double character () const override
 Calculates character of the representation (if well-defined) More...
 
jsonParserto_json (jsonParser &json) const override
 
void from_json (const jsonParser &json) override
 
virtual Permutation const * get_permutation () const
 
virtual SymBasisPermute const * get_ucc_permutation () const
 
Eigen::MatrixXd const * get_matrix_rep (SymGroupRepID _rep_ID) const
 get pointer to matrix representation corresponding to rep_ID More...
 
Permutation const * get_permutation_rep (SymGroupRepID _rep_ID) const
 get pointer to permutation representation corresponding to _rep_ID More...
 
SymBasisPermute const * get_basis_permute_rep (SymGroupRepID _rep_ID) const
 get pointer to BasisPermute representation corresponding to _rep_ID More...
 
Array< Eigen::MatrixXd const * > get_matrix_reps (Array< SymGroupRepID > _rep_IDs) const
 get array of pointers to matrix representations for representations corresponding to _rep_IDs More...
 
void set_rep (SymGroupRepID _rep_ID, const SymOpRepresentation &op_rep) const
 set representation for SymOp corresponding to _rep_ID More...
 
void set_identifiers (const MasterSymGroup &new_group, SymGroupRepID new_rep_ID)
 Change m_master_group and determine op_index. More...
 
void set_identifiers (const MasterSymGroup &new_group, SymGroupRepID new_rep_ID, Index new_op_index)
 Set m_master_group, _rep_ID, and op_index. More...
 
const MasterSymGroupmaster_group () const
 const access of head group More...
 
bool has_valid_master () const
 check if this representation is registered with a MasterSymGroup More...
 
void invalidate_index ()
 
Index index () const
 Index of this operation within the master_group. More...
 
SymGroupRepID rep_ID () const
 ID of representation that this operation belongs to within the master_group. More...
 
Index ind_inverse () const
 Get the operation index of the inverse of this operation, using the master_group's multiplication table. More...
 
Index ind_prod (const SymOpRepresentation &RHS) const
 

Protected Attributes

MasterSymGroup const * m_master_group
 Pointer to the MasterSymGroup where prototype of this SymOp lives. More...
 
SymGroupRepID m_rep_ID
 ID of this representation within the master_group. Default is uninitialized. More...
 
Index m_op_index
 Index into MasterSymGroup that specifies the operation. More...
 

Private Attributes

Eigen::MatrixXd mat
 

Constructor & Destructor Documentation

CASM::SymMatrixXd::SymMatrixXd ( const Eigen::MatrixXd &  init_mat)
inline

Definition at line 26 of file SymMatrixXd.hh.

Member Function Documentation

double CASM::SymMatrixXd::character ( ) const
inlineoverridevirtual

Calculates character of the representation (if well-defined)

Reimplemented from CASM::SymOpRepresentation.

Definition at line 36 of file SymMatrixXd.hh.

SymOpRepresentation* CASM::SymMatrixXd::copy ( ) const
inlineoverridevirtual

Make copy of Derived object through Base-class interface.

Implements CASM::SymOpRepresentation.

Definition at line 28 of file SymMatrixXd.hh.

void CASM::SymMatrixXd::from_json ( const jsonParser json)
overridevirtual

re-throw exceptions

Implements CASM::SymOpRepresentation.

Definition at line 26 of file SymMatrixXd.cc.

SymBasisPermute const * CASM::SymOpRepresentation::get_basis_permute_rep ( SymGroupRepID  _rep_ID) const
inherited

get pointer to BasisPermute representation corresponding to _rep_ID

Definition at line 16 of file SymOpRepresentation.cc.

Eigen::MatrixXd const * CASM::SymOpRepresentation::get_matrix_rep ( SymGroupRepID  _rep_ID) const
inherited

get pointer to matrix representation corresponding to rep_ID

Definition at line 9 of file SymOpRepresentation.cc.

Array< Eigen::MatrixXd const * > CASM::SymOpRepresentation::get_matrix_reps ( Array< SymGroupRepID _rep_IDs) const
inherited

get array of pointers to matrix representations for representations corresponding to _rep_IDs

Definition at line 29 of file SymOpRepresentation.cc.

Eigen::MatrixXd const* CASM::SymMatrixXd::get_MatrixXd ( ) const
inlineoverridevirtual

Reimplemented from CASM::SymOpRepresentation.

Definition at line 32 of file SymMatrixXd.hh.

virtual Permutation const* CASM::SymOpRepresentation::get_permutation ( ) const
inlinevirtualinherited

Reimplemented in CASM::SymPermutation.

Definition at line 42 of file SymOpRepresentation.hh.

Permutation const * CASM::SymOpRepresentation::get_permutation_rep ( SymGroupRepID  _rep_ID) const
inherited

get pointer to permutation representation corresponding to _rep_ID

Definition at line 22 of file SymOpRepresentation.cc.

virtual SymBasisPermute const* CASM::SymOpRepresentation::get_ucc_permutation ( ) const
inlinevirtualinherited

Reimplemented in CASM::SymBasisPermute.

Definition at line 50 of file SymOpRepresentation.hh.

bool CASM::SymOpRepresentation::has_valid_master ( ) const
inlineinherited

check if this representation is registered with a MasterSymGroup

Definition at line 83 of file SymOpRepresentation.hh.

Index CASM::SymOpRepresentation::ind_inverse ( ) const
inherited

Get the operation index of the inverse of this operation, using the master_group's multiplication table.

Definition at line 76 of file SymOpRepresentation.cc.

Index CASM::SymOpRepresentation::ind_prod ( const SymOpRepresentation RHS) const
inherited

Get the operation index of operation that is the product of this operation and

Parameters
RHS,usingthe master_group's multiplication table

Definition at line 83 of file SymOpRepresentation.cc.

Index CASM::SymOpRepresentation::index ( ) const
inlineinherited

Index of this operation within the master_group.

Definition at line 92 of file SymOpRepresentation.hh.

void CASM::SymOpRepresentation::invalidate_index ( )
inlineinherited

Definition at line 87 of file SymOpRepresentation.hh.

const MasterSymGroup& CASM::SymOpRepresentation::master_group ( ) const
inlineinherited

const access of head group

Definition at line 77 of file SymOpRepresentation.hh.

SymGroupRepID CASM::SymOpRepresentation::rep_ID ( ) const
inlineinherited

ID of representation that this operation belongs to within the master_group.

Definition at line 97 of file SymOpRepresentation.hh.

void CASM::SymOpRepresentation::set_identifiers ( const MasterSymGroup new_group,
SymGroupRepID  new_rep_ID 
)
inherited

Change m_master_group and determine op_index.

Definition at line 46 of file SymOpRepresentation.cc.

void CASM::SymOpRepresentation::set_identifiers ( const MasterSymGroup new_group,
SymGroupRepID  new_rep_ID,
Index  new_op_index 
)
inherited

Set m_master_group, _rep_ID, and op_index.

Definition at line 66 of file SymOpRepresentation.cc.

void CASM::SymOpRepresentation::set_rep ( SymGroupRepID  _rep_ID,
const SymOpRepresentation op_rep 
) const
inherited

set representation for SymOp corresponding to _rep_ID

Definition at line 39 of file SymOpRepresentation.cc.

jsonParser & CASM::SymMatrixXd::to_json ( jsonParser json) const
overridevirtual

Implements CASM::SymOpRepresentation.

Definition at line 7 of file SymMatrixXd.cc.

Member Data Documentation

MasterSymGroup const* CASM::SymOpRepresentation::m_master_group
protectedinherited

Pointer to the MasterSymGroup where prototype of this SymOp lives.

Definition at line 117 of file SymOpRepresentation.hh.

Index CASM::SymOpRepresentation::m_op_index
protectedinherited

Index into MasterSymGroup that specifies the operation.

Definition at line 123 of file SymOpRepresentation.hh.

SymGroupRepID CASM::SymOpRepresentation::m_rep_ID
protectedinherited

ID of this representation within the master_group. Default is uninitialized.

Definition at line 120 of file SymOpRepresentation.hh.

Eigen::MatrixXd CASM::SymMatrixXd::mat
private

Definition at line 24 of file SymMatrixXd.hh.


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