CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::adapter::Adapter< OccupantDoF< DiscreteType >, std::vector< DiscreteType > > Struct Template Reference

#include <Adapter.hh>

Detailed Description

template<typename DiscreteType>
struct CASM::adapter::Adapter< OccupantDoF< DiscreteType >, std::vector< DiscreteType > >

Convert the molecular degrees of freedom in the simple vector form (stored this way in Site) to the specialized OccupantDoF type, which can be used to construct basis functions. The int parameter dof_id is used to set the ID of the OccupantDoF, and is most likely the index of the relevant Site within the Structure basis.

Definition at line 22 of file Adapter.hh.

Public Member Functions

OccupantDoF< DiscreteType > operator() (const std::vector< xtal::Molecule > &adaptable, SymGroupRepID symrep_ID, int dof_id)
 

Member Function Documentation

◆ operator()()

template<typename DiscreteType >
OccupantDoF<DiscreteType> CASM::adapter::Adapter< OccupantDoF< DiscreteType >, std::vector< DiscreteType > >::operator() ( const std::vector< xtal::Molecule > &  adaptable,
SymGroupRepID  symrep_ID,
int  dof_id 
)
inline

Definition at line 23 of file Adapter.hh.


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