CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::jsonConstructor< ChemicalReference > Struct Reference

#include <ChemicalReference_json_io.hh>

Detailed Description

Read chemical reference from JSON.

Definition at line 61 of file ChemicalReference_json_io.hh.

Static Public Member Functions

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

Member Function Documentation

◆ from_json()

ChemicalReference CASM::jsonConstructor< ChemicalReference >::from_json ( jsonParser const &  json,
xtal::BasicStructure const &  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 246 of file ChemicalReference_json_io.cc.


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