#include <outputManager.h>
◆ OutputManager()
OutputManager::OutputManager |
( |
| ) |
|
|
default |
◆ addMeasurement()
◆ periodicExport()
void OutputManager::periodicExport |
( |
const fs::path & |
filepath, |
|
|
double |
time |
|
) |
| const |
Exports results from each measurement step so the evolution of the system can be visualized. Step intervals of 1 will write every measurement to file. If there are 100 measurements, then there will bee 100 * num_sensors entries written. Step intervals greater than 1 will write the average of the measurements to file. Step intervals of 10 with 100 measurements -> 10 * num_sensors entries. First entry is the avg of steps 1-10, second is avg of steps 11-20, etc.
- Parameters
-
filepath | - path and filename where the results will be written - existing file will be overwritten |
time- | The time taken to run the simulation. |
◆ setStepInterval()
void OutputManager::setStepInterval |
( |
std::size_t |
interval | ) |
|
|
inlinenoexcept |
◆ sortMeasurements()
void OutputManager::sortMeasurements |
( |
| ) |
|
|
noexcept |
◆ steadyStateExport()
void OutputManager::steadyStateExport |
( |
const fs::path & |
filepath, |
|
|
double |
time |
|
) |
| const |
The documentation for this class was generated from the following files: