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

Go to the source code of this file.

Namespaces

 CASM
 Main CASM namespace.
 
 CASM::ClusterSpecs_json_io_impl
 

Functions

template<typename SpecsType >
std::vector< double > CASM::ClusterSpecs_json_io_impl::parse_orbit_branch_specs_attr (InputParser< SpecsType > &parser, const std::string &attrname)
 
void CASM::ClusterSpecs_json_io_impl::write_group_indices (const SymGroup &grp, jsonParser &json)
 
void CASM::ClusterSpecs_json_io_impl::write_group_indices (std::vector< PermuteIterator > const &grp, jsonParser &json)
 
std::vector< SymOp >::const_iterator CASM::ClusterSpecs_json_io_impl::find_by_master_group_index (const SymOp &op, const SymGroup &super_group)
 
std::unique_ptr< SymGroup > CASM::ClusterSpecs_json_io_impl::group_from_indices (const SymGroup &super_group, const std::set< Index > &indices)
 
template<typename SymCompareType >
std::unique_ptr< SymGroup > CASM::ClusterSpecs_json_io_impl::local_group_from_indices (const SymGroup &super_group, const std::set< Index > &indices, const IntegralCluster &phenomenal, const SymCompareType &sym_compare)
 
std::unique_ptr< SymGroup > CASM::ClusterSpecs_json_io_impl::parse_generating_group (InputParser< PeriodicMaxLengthClusterSpecs > &parser, const std::shared_ptr< const Structure > &shared_prim, const SymGroup &super_group)
 
template<typename SymCompareType >
std::unique_ptr< SymGroup > CASM::ClusterSpecs_json_io_impl::parse_local_generating_group (InputParser< LocalMaxLengthClusterSpecs > &parser, const std::shared_ptr< const Structure > &shared_prim, const IntegralCluster &phenomenal, const SymGroup &super_group, const SymCompareType &sym_compare)
 
void CASM::parse (InputParser< PeriodicMaxLengthClusterSpecs > &parser, const std::shared_ptr< Structure const > &shared_prim, const SymGroup &super_group)
 Parse PeriodicMaxLengthClusterSpecs from JSON. More...
 
void CASM::parse (InputParser< LocalMaxLengthClusterSpecs > &parser, const std::shared_ptr< Structure const > &shared_prim, const SymGroup &super_group)
 Parse LocalMaxLengthClusterSpecs from JSON. More...
 
void CASM::parse (InputParser< ClusterSpecs > &parser, const std::shared_ptr< Structure const > &shared_prim)
 Parse PeriodicMaxLengthClusterSpecs or LocalMaxLengthClusterSpecs from JSON & validate. More...
 
void CASM::parse (InputParser< ClusterSpecs > &parser, const std::shared_ptr< Structure const > &shared_prim, const SymGroup &super_group)
 Parse ClusterSpecs from JSON & validate. More...
 
jsonParser & CASM::ClusterSpecs_json_io_impl::orbit_branch_specs_attr_to_json (std::vector< double > attr, const std::string &attrname, jsonParser &json)
 
jsonParser & CASM::to_json (const PeriodicMaxLengthClusterSpecs &cspecs, jsonParser &json)
 Write PeriodicMaxLengthClusterSpecs to JSON. More...
 
jsonParser & CASM::to_json (const LocalMaxLengthClusterSpecs &cspecs, jsonParser &json)
 Write LocalMaxLengthClusterSpecs to JSON. More...
 
jsonParser & CASM::to_json (const ClusterSpecs &cspecs, jsonParser &json)
 Write PeriodicMaxLengthClusterSpecs or LocalMaxLengthClusterSpecs to JSON. More...