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

#include <SymOp.hh>

Detailed Description

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

Convert symmetry types to CASM::SymOp

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 CASM::SymOp, simply declare and define accessors get_matrix, get_translation, and get_time_reversal

Definition at line 223 of file SymOp.hh.

Public Member Functions

SymOp operator() (const FromType &adaptable)
 

Member Function Documentation

◆ operator()()

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

Definition at line 224 of file SymOp.hh.


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