CASM  1.1.0
A Clusters Approach to Statistical Mechanics
ConfigMapping.cc File Reference

Go to the source code of this file.

Namespaces

 CASM
 Main CASM namespace.
 
 CASM::Local
 
 CASM::ConfigMapping
 

Functions

static int CASM::Local::_permute_dist (MappingNode::MoleculeMap const &_perm, MappingNode const &_node)
 
template<typename IterType >
static IterType CASM::Local::_strictest_equivalent (IterType begin, IterType end, MappingNode const &_node)
 Find symop (as PermuteIterator) that gives the most 'faithful' equivalent mapping This means that (1) the site permutation is as close to identity as possible (i.e., maximal character) (2) ties at (1) are broken by ensuring _node.isometry is proper and close to zero rotation (i.e., maximal character*determinant) (3) if (1) and (2) are ties, then we minimize _node.translation.norm() More...
 
xtal::StrucMapping::AllowedSpecies CASM::ConfigMapping::_allowed_species (BasicStructure const &_prim, SimpleStructure::SpeciesMode _species_mode=SimpleStructure::SpeciesMode::ATOM)
 
MappingNode CASM::copy_apply (PermuteIterator const &_it, MappingNode const &_node, bool transform_cost_mat=true)
 Reorders the permutation and compounds the spatial isometry (rotation. More...
 
std::pair< ConfigDoF, std::set< std::string > > CASM::to_configdof (SimpleStructure const &_child_struc, Supercell const &_scel)
 Initializes configdof of Supercell '_scel' corresponding to an idealized child structure (encoded by _child_struc) _child_struc is assumed to have been idealized via structure-mapping or to be the result of converting a configuration to a SimpleStructure. result.second gives list of properties that were utilized in the course of building the configdof. More...