DiagWriter class
Contents
ASCII diagnostics writer class that facilitates outputing diagnostics to text files.
Base classes
- class Writer
Constructors, destructors, conversion operators
- 
              DiagWriter(const std::string& filename,
              tk::ctr:: TxtFloatFormatType format = tk:: ctr:: TxtFloatFormatType:: DEFAULT, kw::precision::info::expect::type precision = std::cout.precision(), std::ios_base::openmode mode = std::ios_base::out) explicit 
- Constructor.
Public functions
Function documentation
               tk::
            Constructor.
| Parameters | |
|---|---|
| filename in | Output filename to which output the diagnostics | 
| format in | Configure floating-point output format ASCII output | 
| precision in | Configure precision for floating-point ASCII output | 
| mode in | Configure file open mode | 
              void tk::
            Write out diagnostics file header.
| Parameters | |
|---|---|
| name in | Vector of strings with the names of diagnostics | 
              std::size_t tk::
            Write diagnostics file.
| Parameters | |
|---|---|
| it in | Iteration counter | 
| t in | Time | 
| dt in | Time step size | 
| diagnostics in | Vector with the diagnostics | 
| Returns | The total number of diagnostics written to the output file |