CASM  1.1.0
A Clusters Approach to Statistical Mechanics
ChemicalReference_file_io.hh
Go to the documentation of this file.
1 #ifndef CASM_clex_ChemicalReference_file_io
2 #define CASM_clex_ChemicalReference_file_io
3 
5 
6 namespace CASM {
7 
8 namespace xtal {
9 class BasicStructure;
10 }
11 class ChemicalReference;
12 
13 ChemicalReference read_chemical_reference(fs::path filename,
14  const xtal::BasicStructure &prim,
15  double tol);
16 
17 void write_chemical_reference(const ChemicalReference &chem_ref,
18  fs::path filename);
19 
20 } // namespace CASM
21 
22 #endif
Main CASM namespace.
Definition: APICommand.hh:8
void write_chemical_reference(const ChemicalReference &chem_ref, fs::path filename)
Write chemical reference states to JSON file.
ChemicalReference read_chemical_reference(fs::path filename, const xtal::BasicStructure &prim, double tol)
Read chemical reference states from JSON file.