CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CanonicalIO.hh
Go to the documentation of this file.
1 #ifndef CASM_CanonicalIO_HH
2 #define CASM_CanonicalIO_HH
3 
4 namespace CASM {
5 class PrimClex;
6 class jsonParser;
7 template <typename T>
8 class DataFormatter;
9 } // namespace CASM
10 
11 namespace CASM {
12 namespace Monte {
13 
14 class MonteCarlo;
16 class Canonical;
18 
21 
23 jsonParser &to_json(const CanonicalConditions &conditions, jsonParser &json);
24 
26 void from_json(CanonicalConditions &conditions, const PrimClex &primclex,
27  const jsonParser &json);
28 
29 } // namespace Monte
30 } // namespace CASM
31 
32 #endif
Extract data from objects of 'DataObject' class.
Interface base class for all types of Monte Carlo simulations (not meant to be used polymorphically)
Definition: MonteCarlo.hh:44
PrimClex is the top-level data structure for a CASM project.
Definition: PrimClex.hh:55
void from_json(CanonicalConditions &conditions, const PrimClex &primclex, const jsonParser &json)
Read CanonicalConditions from JSON format.
Definition: CanonicalIO.cc:137
const MonteCarlo * ConstMonteCarloPtr
const pointer to const MonteCarlo
Definition: CanonicalIO.hh:14
jsonParser & to_json(const CanonicalConditions &conditions, jsonParser &json)
Store CanonicalConditions in JSON format.
Definition: CanonicalIO.cc:102
DataFormatter< ConstMonteCarloPtr > make_results_formatter(const Canonical &mc)
Make a LTE results formatter.
Definition: CanonicalIO.cc:31
Main CASM namespace.
Definition: APICommand.hh:8
PrimClex * primclex
Definition: settings.cc:135