#include <probes.hpp>
Classes | |
class | ProbeRecorder |
Public Member Functions | |
Probes (const std::shared_ptr< ablate::monitors::probes::ProbeInitializer > &, std::vector< std::string > variableNames, const std::shared_ptr< io::interval::Interval > &interval={}, const int bufferSize=0) | |
void | Register (std::shared_ptr< solver::Solver > solver) override |
PetscMonitorFunction | GetPetscFunction () override |
Public Member Functions inherited from ablate::monitors::Monitor | |
virtual void * | GetContext () |
Static Public Member Functions | |
static PetscErrorCode | UpdateProbes (TS ts, PetscInt step, PetscReal crtime, Vec u, void *ctx) |
Public Attributes | |
const std::shared_ptr< ablate::monitors::probes::ProbeInitializer > | initializer |
Original list of all requested probe locations by name. | |
const std::vector< std::string > | variableNames |
List of variables to output. | |
const std::shared_ptr< io::interval::Interval > | interval |
The sampling interval. | |
const int | bufferSize |
output bufferSize | |
std::vector< probes::Probe > | localProbes |
list of local probes on this rank | |
std::vector< domain::Field > | fields |
list of fields to interpolate | |
std::vector< int > | fieldOffset |
store the offset for the field in the output (needed for multiple components) | |
std::vector< DMInterpolationInfo > | interpolants |
list of petsc intepolants | |
std::vector< ProbeRecorder > | recorders |
list of probe recorders that goe | |
Additional Inherited Members | |
Protected Member Functions inherited from ablate::monitors::Monitor | |
std::shared_ptr< solver::Solver > | GetSolver () |
Used to monitor field variables at a specified list of locations
ablate::monitors::Probes::Probes | ( | const std::shared_ptr< ablate::monitors::probes::ProbeInitializer > & | initializer, |
std::vector< std::string > | variableNames, | ||
const std::shared_ptr< io::interval::Interval > & | interval = {} , |
||
const int | bufferSize = 0 |
||
) |
Probes monitor
probeLocations | a vector of names and probe locations |
variables | a list of output variables |
bufferSize | the buffer size between writes |
interval | the sampling interval |
|
inlineoverridevirtual |
Returns the petsc function used to update the monitor.
Reimplemented from ablate::monitors::Monitor.
|
overridevirtual |
Overrides the base register and used to determine which nodes lives on each rank
solver |
Reimplemented from ablate::monitors::Monitor.