CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
clex.hh File Reference

Go to the source code of this file.

Classes

struct  CASM::jsonConstructor< HyperPlaneReference >
 
struct  CASM::jsonConstructor< ChemicalReference >
 Read chemical reference from JSON. More...
 

Namespaces

 CASM
 Main CASM namespace.
 

Functions

jsonParser & CASM::to_json (const ChemicalReferenceState &ref_state, jsonParser &json)
 Write ChemicalReferenceState to: '{"A" : X, "B" : X, ..., "energy_per_species" : X }'. More...
 
template<>
ChemicalReferenceState CASM::from_json< ChemicalReferenceState > (const jsonParser &json)
 Read ChemicalReferenceState from: '{"A" : X, "B" : X, ..., "energy_per_species" : X }'. More...
 
void CASM::from_json (ChemicalReferenceState &ref_state, const jsonParser &json)
 Read ChemicalReferenceState from: '{"A" : X, "B" : X, ..., "energy_per_species" : X }'. More...
 
jsonParser & CASM::to_json (const HyperPlaneReference &ref, jsonParser &json)
 
void CASM::from_json (HyperPlaneReference &ref, const jsonParser &json, HyperPlaneReference::InputFunction f)
 
jsonParser & CASM::to_json (const ChemicalReference &ref, jsonParser &json)
 Write chemical reference. More...
 
std::pair< Eigen::VectorXd,
std::vector
< ChemicalReferenceState > > 
CASM::one_chemical_reference_from_json (const Structure &prim, const jsonParser &json)
 Read chemical reference from one of 3 alternative forms. More...
 
void CASM::from_json (ChemicalReference &ref, const jsonParser &json, const Structure &prim, double tol=1e-14)
 Read chemical reference from JSON. More...