class Output
Declaration
class Output { /* full declaration omitted */ };
Description
outputs temperature in C and pressure in bar
Declared at: ThermoFun/Batch/OutputBatch.h:15
Method Overview
- public Output(const ThermoFun::ThermoBatch & batch)
- public auto to2DVectorDouble() -> std::vector<std::vector<double>>
- public auto toCSV(std::string filename) -> void
- public auto toCSVPropertyGrid(std::string filename) -> void
- public auto toCSVTransposed(std::string filename) -> void
- public auto toDouble() -> double
- public auto toThermoScalar() -> Reaktoro_::ThermoScalar
Methods
¶Output(const ThermoFun::ThermoBatch& batch)
Output(const ThermoFun::ThermoBatch& batch)
Description
Output constructor
Declared at: ThermoFun/Batch/OutputBatch.h:22
Parameters
- const ThermoFun::ThermoBatch& batch
- object of ThermoBatch calculation used for output
¶auto to2DVectorDouble()
-> std::vector<std::vector<double>>
auto to2DVectorDouble()
-> std::vector<std::vector<double>>
Description
to2DVectorDouble
Declared at: ThermoFun/Batch/OutputBatch.h:63
Returns
vector of calculated properties
¶auto toCSV(std::string filename) -> void
auto toCSV(std::string filename) -> void
Description
toCSV write results to CSV file with substances/reactions on rows and properties on columns
Declared at: ThermoFun/Batch/OutputBatch.h:29
Parameters
- std::string filename
¶auto toCSVPropertyGrid(std::string filename)
-> void
auto toCSVPropertyGrid(std::string filename)
-> void
Description
toCSVPropertyGrid write results to CSV file in a property grid format one file will be created for each property if loopTemperatureThenPressure in BatchPreferences is True the grid will have T in horizontal and P in vertical if loopTemperatureThenPressure in BatchPreferences is False the grid will have P in horizontal and T in vertical
Declared at: ThermoFun/Batch/OutputBatch.h:45
Parameters
- std::string filename
- will be modified to include the property name
¶auto toCSVTransposed(std::string filename) -> void
auto toCSVTransposed(std::string filename) -> void
Description
toCSVTransposed write results to CSV file in a special transposed format. with substances/reactions on columns and properties on rows
Declared at: ThermoFun/Batch/OutputBatch.h:36
Parameters
- std::string filename
¶auto toDouble() -> double
auto toDouble() -> double
Description
toDouble
Declared at: ThermoFun/Batch/OutputBatch.h:51
Returns
property value
¶auto toThermoScalar() -> Reaktoro_::ThermoScalar
auto toThermoScalar() -> Reaktoro_::ThermoScalar
Description
toThermoScalar
Declared at: ThermoFun/Batch/OutputBatch.h:57
Returns
property in ThermoScalar type