CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
CASM::jsonConstructor< ChemicalReference > Struct Template Reference

#include <clex.hh>

Detailed Description

template<>
struct CASM::jsonConstructor< ChemicalReference >

Read chemical reference from JSON.

Definition at line 60 of file clex.hh.

Static Public Member Functions

static ChemicalReference from_json (const jsonParser &json, const Structure &prim, double tol=1e-14)
 Read chemical reference from JSON. More...
 

Member Function Documentation

ChemicalReference CASM::jsonConstructor< ChemicalReference >::from_json ( const jsonParser json,
const Structure prim,
double  tol = 1e-14 
)
static

Read chemical reference from JSON.

Example expected JSON form:

{
"global" : ...,
"supercell": {
"SCELX": ...,
"SCELY": ...
},
"config": {
"SCELX/I": ...,
"SCELY/J": ...
}
}

See one_chemical_reference_from_json for documentation of the

{...}

expected form.

Definition at line 252 of file clex.cc.


The documentation for this struct was generated from the following files: