|
Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website |
Point and line probes: the values of the cells holding a set of points, written every interval steps by rank 0 as rows step,t,point,x,y(,z),variables... Each point takes the cell average of the cell containing it (the lowest global id on a shared face), or of the nearest cell centroid if no cell contains it.
More...
#include <statistics.h>
Public Member Functions | |
| void | init (const toml::value &input, const Mesh &mesh, const std::vector< std::string > &species_names, bool resume) |
| Read [[probes]] and locate the points; resume appends to existing files. | |
| bool | due (uint64_t step) const |
| void | write (uint64_t step, rtype t, const CellSampler &sampler) |
| std::vector< std::pair< std::string, std::string > > | summary () const |
| std::vector< std::string > | files () const |
Point and line probes: the values of the cells holding a set of points, written every interval steps by rank 0 as rows step,t,point,x,y(,z),variables... Each point takes the cell average of the cell containing it (the lowest global id on a shared face), or of the nearest cell centroid if no cell contains it.
| std::vector< std::string > Probes::files | ( | ) | const |
| void Probes::init | ( | const toml::value & | input, |
| const Mesh & | mesh, | ||
| const std::vector< std::string > & | species_names, | ||
| bool | resume | ||
| ) |
Read [[probes]] and locate the points; resume appends to existing files.
| std::vector< std::pair< std::string, std::string > > Probes::summary | ( | ) | const |
| void Probes::write | ( | uint64_t | step, |
| rtype | t, | ||
| const CellSampler & | sampler | ||
| ) |