CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::adapter::Adapter< xtal::SymOp, FromType > Struct Template Reference

#include <Adapter.hh>

Detailed Description

template<typename FromType>
struct CASM::adapter::Adapter< xtal::SymOp, FromType >

Convertes any symmetry type to SymOpType, as defined by the crystallography module. Works for any symmetry type that has the get_matrix, get_translation, and get_time_reversal accessors defined.

If there is a different symmetry type you would like to adapt for the crystallography module, simply declare and define accessors get_matrix, get_translation, and get_time_reversal

Definition at line 20 of file Adapter.hh.

Public Member Functions

xtal::SymOp operator() (const FromType &adaptable)
 

Member Function Documentation

◆ operator()()

template<typename FromType >
xtal::SymOp CASM::adapter::Adapter< xtal::SymOp, FromType >::operator() ( const FromType &  adaptable)
inline

Definition at line 21 of file Adapter.hh.


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