1 #ifndef CASM_DisplacementDoFTraits
2 #define CASM_DisplacementDoFTraits
Specifies traits of (possibly) anisotropic crystal properties.
DoFType::Traits * _clone() const override
void apply_dof(ConfigDoF const &_dof, BasicStructure const &_reference, SimpleStructure &_struc) const override
Apply DoF values for this DoF to _struc.
std::vector< BasisSet > construct_site_bases(Structure const &_prim, std::vector< Orbit< PrimPeriodicSymCompare< IntegralCluster > > > &_asym_unit, BasisFunctionSpecs const &_basis_function_specs) const override
Construct the site basis (if DOF_MODE is LOCAL) for a DoF, given its site.
Collection of all the traits specific to a DoF type.
Traits(AnisoValTraits const &_val_traits, bool _requires_site_basis=false)
Structure specifies the lattice and atomic basis of a crystal.
BasicStructure specifies the lattice and atomic basis of a crystal.
Representation of a crystal of molecular and/or atomic occupants, and any additional properties....
DoF_impl::DisplacementDoFTraits displacement()
Specify how to construct basis functions.