CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::xtal::SymOpMatrixCompare_f Struct Reference

#include <SymTypeComparator.hh>

Detailed Description

Binary functor for checking if two SymOp are equal. only the transformation matrix. When using this comparator both translation and time reversal are ignored. Returns true if the transformation matrix matches.

Definition at line 51 of file SymTypeComparator.hh.

Public Member Functions

 SymOpMatrixCompare_f (double tolerance)
 
bool operator() (const SymOp &lhs, const SymOp &rhs) const
 

Private Attributes

double m_tolerance
 

Constructor & Destructor Documentation

◆ SymOpMatrixCompare_f()

CASM::xtal::SymOpMatrixCompare_f::SymOpMatrixCompare_f ( double  tolerance)
inlineexplicit

Definition at line 52 of file SymTypeComparator.hh.

Member Function Documentation

◆ operator()()

bool CASM::xtal::SymOpMatrixCompare_f::operator() ( const SymOp lhs,
const SymOp rhs 
) const

Definition at line 25 of file SymTypeComparator.cc.

Member Data Documentation

◆ m_tolerance

double CASM::xtal::SymOpMatrixCompare_f::m_tolerance
private

Definition at line 56 of file SymTypeComparator.hh.


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