Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
Probes Class Reference

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
 

Detailed Description

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.

Member Function Documentation

◆ due()

bool Probes::due ( uint64_t  step) const

◆ files()

std::vector< std::string > Probes::files ( ) const

◆ init()

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.

◆ summary()

std::vector< std::pair< std::string, std::string > > Probes::summary ( ) const

◆ write()

void Probes::write ( uint64_t  step,
rtype  t,
const CellSampler &  sampler 
)

The documentation for this class was generated from the following files: