CASM  1.1.0
A Clusters Approach to Statistical Mechanics
OrbitPrinter.hh File Reference

Go to the source code of this file.

Classes

struct  CASM::OrbitPrinterOptions
 
struct  CASM::jsonConstructor< OrbitPrinterOptions >
 
struct  CASM::PrinterBase
 
struct  CASM::Printer< _Element >
 
struct  CASM::Printer< IntegralCluster >
 
struct  CASM::OrbitPrinter< _Element, ORBIT_PRINT_MODE >
 
struct  CASM::OrbitPrinter< _Element, ORBIT_PRINT_MODE::PROTO >
 Print Orbit<SymCompareType>, including only prototypes. More...
 
struct  CASM::OrbitPrinter< _Element, ORBIT_PRINT_MODE::FULL >
 Print Orbit<SymCompareType>, including all equivalents. More...
 

Namespaces

 CASM
 Main CASM namespace.
 

Typedefs

typedef Printer< IntegralCluster > CASM::SitesPrinter
 
template<typename _Element >
using CASM::PrototypePrinter = OrbitPrinter< _Element, ORBIT_PRINT_MODE::PROTO >
 
typedef PrototypePrinter< IntegralCluster > CASM::ProtoSitesPrinter
 
template<typename _Element >
using CASM::FullOrbitPrinter = OrbitPrinter< _Element, ORBIT_PRINT_MODE::FULL >
 
typedef FullOrbitPrinter< IntegralCluster > CASM::FullSitesPrinter
 

Enumerations

enum class  CASM::ORBIT_PRINT_MODE { CASM::PROTO , CASM::FULL }
 

Functions

jsonParser & CASM::to_json (const OrbitPrinterOptions &opt, jsonParser &json)
 
void CASM::from_json (OrbitPrinterOptions &opt, const jsonParser &json)
 Read from JSON. More...
 
template<typename ClusterOrbitIterator , typename OrbitPrinter >
void CASM::print_clust (ClusterOrbitIterator begin, ClusterOrbitIterator end, Log &out, OrbitPrinter printer)
 Print IntegralCluster orbits. More...
 
template<typename ClusterOrbitIterator >
void CASM::print_clust (ClusterOrbitIterator begin, ClusterOrbitIterator end, Log &out, const OrbitPrinterOptions &opt=OrbitPrinterOptions())
 Print IntegralCluster orbits. More...
 
template<typename ClusterOutputIterator , typename SymCompareType >
ClusterOutputIterator CASM::read_clust (ClusterOutputIterator result, const jsonParser &json, const Structure &prim, const SymGroup &generating_grp, const SymCompareType &sym_compare)
 Read JSON containing Orbit<SymCompareType> prototypes. More...
 
template<typename ClusterOutputIterator >
ClusterOutputIterator CASM::read_clust (ClusterOutputIterator result, const jsonParser &json, const Structure &prim)
 Read JSON containing IntegralCluster prototypes, as IntegralCluster. More...
 
template<typename ClusterOrbitIterator , typename Printer >
jsonParser & CASM::write_clust (ClusterOrbitIterator begin, ClusterOrbitIterator end, jsonParser &json, Printer printer)
 Write Orbit<SymCompareType> to JSON. More...
 
template<typename ClusterOrbitIterator >
jsonParser & CASM::write_clust (ClusterOrbitIterator begin, ClusterOrbitIterator end, jsonParser &json, const OrbitPrinterOptions &opt=OrbitPrinterOptions())
 Write Orbit<SymCompareType> to JSON. More...
 
template<typename ClusterOrbitIterator , typename Printer >
jsonParser & CASM::write_clust (ClusterOrbitIterator begin, ClusterOrbitIterator end, jsonParser &json, Printer printer, const jsonParser &bspecs)
 Write Orbit<SymCompareType> to JSON, including 'bspecs'. More...