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

#include <SymTypeComparator.hh>

Detailed Description

Binary functor for checking if two SymOp are equal. Compares the transformation matrix and translation to within the CASM tolerance, and also checks for time reversal match.

Definition at line 17 of file SymTypeComparator.hh.

Public Member Functions

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

Private Attributes

double m_tolerance
 

Constructor & Destructor Documentation

◆ SymOpCompare_f()

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

Definition at line 18 of file SymTypeComparator.hh.

Member Function Documentation

◆ operator()()

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

Definition at line 9 of file SymTypeComparator.cc.

Member Data Documentation

◆ m_tolerance

double CASM::xtal::SymOpCompare_f::m_tolerance
private

Definition at line 22 of file SymTypeComparator.hh.


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