#include <alsuq/stats/StatisticsHelper.hpp>
|
StatisticsSnapshot & | findOrCreateSnapshot (const std::string &name, const alsfvm::simulator::TimestepInformation ×tepInformation, const alsfvm::volume::Volume &conservedVariables) |
|
StatisticsSnapshot & | findOrCreateSnapshot (const std::string &name, const alsfvm::simulator::TimestepInformation ×tepInformation, const alsfvm::volume::Volume &conservedVariables, size_t nx, size_t ny, size_t nz, const std::string &platform="default") |
|
void | makeOwnGrid (size_t nx, size_t ny, size_t nz) |
|
◆ StatisticsHelper()
◆ addWriter()
void alsuq::stats::StatisticsHelper::addWriter |
( |
const std::string & |
name, |
|
|
std::shared_ptr< alsfvm::io::Writer > & |
writer |
|
) |
| |
|
overridevirtual |
Add a writer to write the statistics to file
- Parameters
-
writer | the writer to add |
name | the name of the statistics (must be unique) |
Implements alsuq::stats::Statistics.
◆ combineStatistics()
void alsuq::stats::StatisticsHelper::combineStatistics |
( |
| ) |
|
|
overridevirtual |
◆ findOrCreateSnapshot() [1/2]
Utility function.
If the given timstep is already created, return that timestep, otherwise creates a new snapshot
- Note
- Uses the size of the given volume
◆ findOrCreateSnapshot() [2/2]
Utility function.
If the given timstep is already created, return that timestep, otherwise creates a new snapshot
◆ makeOwnGrid()
void alsuq::stats::StatisticsHelper::makeOwnGrid |
( |
size_t |
nx, |
|
|
size_t |
ny, |
|
|
size_t |
nz |
|
) |
| |
|
protected |
◆ writeStatistics()
◆ snapshots
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/alsvinn/checkouts/stable/alsuq/include/alsuq/stats/StatisticsHelper.hpp
- /home/docs/checkouts/readthedocs.org/user_builds/alsvinn/checkouts/stable/alsuq/src/stats/StatisticsHelper.cpp