![]() |
deltaFlow
|
Generates professionally formatted output files (.out, .sta) More...
#include <chrono>#include <cmath>#include <complex>#include <fstream>#include <string>#include <vector>#include <unistd.h>#include <Eigen/Dense>#include <fmt/chrono.h>#include <fmt/core.h>#include "Display.H"#include "Data.H"#include "Version.H"

Go to the source code of this file.
Namespaces | |
| namespace | OutputFile |
| Functions for writing solver output, status, message, and data files. | |
Functions | |
| std::string | OutputFile::hostname () |
| Returns the current hostname. | |
| std::string | OutputFile::timestamp () |
| Returns the current timestamp string. | |
| std::string | OutputFile::dateStr () |
| Returns the current date string. | |
| std::string | OutputFile::timeStr () |
| Returns the current time string. | |
| bool | OutputFile::writeOutputFile (const std::string &jobName, const std::string &inputFile, const std::string &solverName, const std::string &formatName, const BusData &busData, const BranchData &branchData, const Eigen::MatrixXcd &Y, int iterations, double finalError, double tolerance, double elapsedSec, double basemva=100.0) |
| Writes the main output file (.out) with full analysis results. | |
| bool | OutputFile::writeStatusFile (const std::string &jobName, const std::string &inputFile, const std::string &solverName, const std::string &formatName, int nBus, int nBranch, int iterations, double finalError, double tolerance, bool converged, double elapsedSec) |
| Writes the status file (.sta) with a compact solver summary. | |
| bool | OutputFile::writeMessageFile (const std::string &jobName, const std::string &solverName, const std::vector< std::pair< int, double > > &iterationHistory, double tolerance, bool converged) |
| Writes the message file (.msg) with iteration history. | |
| bool | OutputFile::writeDatFile (const std::string &jobName, const std::string &inputFile, const std::string &solverName, const std::string &formatName, const BusData &busData, const BranchData &branchData, const std::vector< std::pair< int, double > > &iterationHistory, int totalIterations, double finalError, double tolerance, bool converged, double elapsedSec, double basemva=100.0) |
| Writes the detailed data file (.dat) with full input/output records. | |
Generates professionally formatted output files (.out, .sta)
Definition in file OutputFile.H.