ChemicalOutput.hpp
virtual ~ChemicalOutput()
Destroy this ChemicalOutput instance.
Definition: ChemicalOutput.cpp:212
auto attach(int value) -> void
Attach value to extra column data in the output file.
Definition: ChemicalOutput.cpp:265
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 precision(int val) -> void
Set the floating-point precision in the output.
Definition: ChemicalOutput.cpp:280
auto extension() const -> std::string
Return the extension name of output file name.
Definition: ChemicalOutput.cpp:243
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
A type used to output sequence of chemical states to a file or terminal.
Definition: ChemicalOutput.hpp:36
auto add(std::string quantity) -> void
Add a quantity to be output.
Definition: ChemicalOutput.cpp:248
auto headings() const -> std::vector< std::string >
Return the headings of the output file.
Definition: ChemicalOutput.cpp:300
auto basename() const -> std::string
Return the base name of output file name.
Definition: ChemicalOutput.cpp:238
auto close() -> void
Close the output file.
Definition: ChemicalOutput.cpp:315
A class that represents a system of chemical reactions.
Definition: ReactionSystem.hpp:42
auto attachments(std::vector< std::string > titles) -> void
Set the titles of extra columns in the output file.
Definition: ChemicalOutput.cpp:259
auto filename() const -> std::string
Return the name of the output file.
Definition: ChemicalOutput.cpp:222
auto quantities() const -> std::vector< std::string >
Return the name of the quantities in the output file.
Definition: ChemicalOutput.cpp:295
auto suffix() const -> std::string
Return the suffix word of the output file name.
Definition: ChemicalOutput.cpp:233
auto scientific(bool enable) -> void
Enable or disable output in scientific format.
Definition: ChemicalOutput.cpp:285
auto terminal(bool enabled) -> void
Enable or disable the output to the terminal.
Definition: ChemicalOutput.cpp:290
auto update(const ChemicalState &state, double t) -> void
Update the output with a new chemical state and its tag.
Definition: ChemicalOutput.cpp:310
auto open() -> void
Open the output file.
Definition: ChemicalOutput.cpp:305
ChemicalOutput()
Construct a default ChemicalOutput instance.
Definition: ChemicalOutput.cpp:200