ABLATE Source Documentation  0.12.34
rake.hpp
1 #ifndef ABLATELIBRARY_RAKE_HPP
2 #define ABLATELIBRARY_RAKE_HPP
3 
4 #include <string>
5 #include <vector>
6 #include "probeInitializer.hpp"
7 
8 namespace ablate::monitors::probes {
9 
10 class Rake : public ProbeInitializer {
11  private:
13  const std::string rakeName;
14 
16  const std::filesystem::path rakePath;
17 
19  std::vector<Probe> list;
20 
21  public:
26  explicit Rake(std::string name, std::vector<double> start, std::vector<double> end, int number);
27 
32  const std::vector<Probe>& GetProbes() const override { return list; }
33 
38  std::filesystem::path GetDirectory() const override { return rakePath; }
39 
43  void Report(MPI_Comm) const override;
44 };
45 
46 } // namespace ablate::monitors::probes
47 #endif // ABLATELIBRARY_RAKE_HPP
Definition: probeInitializer.hpp:10
Definition: rake.hpp:10
const std::vector< Probe > & GetProbes() const override
Definition: rake.hpp:32
Rake(std::string name, std::vector< double > start, std::vector< double > end, int number)
Definition: rake.cpp:7
void Report(MPI_Comm) const override
Definition: rake.cpp:44
std::filesystem::path GetDirectory() const override
Definition: rake.hpp:38