Interpreter.hpp
auto system() -> const ChemicalSystem &
Return the constructed chemical system.
Definition: Interpreter.cpp:121
Interpreter()
Construct a default Interpreter instance.
Definition: Interpreter.cpp:84
auto executeJsonString(std::string input) -> void
Execute an input script.
Definition: Interpreter.cpp:106
A class to represent a system and its attributes and properties.
Definition: ChemicalSystem.hpp:38
Provides a computational representation of the state of a multiphase chemical system.
Definition: ChemicalState.hpp:61
auto executeJsonFile(std::string input) -> void
Execute an input script.
Definition: Interpreter.cpp:113
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
auto operator=(Interpreter other) -> Interpreter &
Assing another Interpreter instance to this.
Definition: Interpreter.cpp:95
auto states() -> const std::map< std::string, ChemicalState > &
Return all saved chemical states during the execution.
Definition: Interpreter.cpp:126
Used to interpret json files containing defined calculations.
Definition: Interpreter.hpp:37
virtual ~Interpreter()
Destroy this Interpreter instance.
Definition: Interpreter.cpp:92
auto executeJsonObject(json input) -> void
Execute an input script.
Definition: Interpreter.cpp:101
auto state(std::string reference) -> const ChemicalState &
Return the saved chemical state with given reference name.
Definition: Interpreter.cpp:131