ABLATE Source Documentation  0.12.34
probe.hpp
1 #ifndef ABLATELIBRARY_PROBE_HPP
2 #define ABLATELIBRARY_PROBE_HPP
3 
4 #include <petsc.h>
5 #include <vector>
6 
7 namespace ablate::monitors::probes {
8 
12 struct Probe {
13  std::string name;
14  std::vector<PetscReal> location;
15 
16  Probe(std::string name, std::vector<PetscReal> location) : name(std::move(name)), location(std::move(location)) {}
17 };
18 } // namespace ablate::monitors::probes
19 
20 #endif // ABLATELIBRARY_PROBE_HPP
Definition: probe.hpp:12