1 #ifndef ABLATELIBRARY_IGNITIONDELAYTEMPERATURE_HPP
2 #define ABLATELIBRARY_IGNITIONDELAYTEMPERATURE_HPP
4 #include <monitors/logs/log.hpp>
14 static PetscErrorCode MonitorIgnition(TS ts, PetscInt step, PetscReal crtime, Vec u,
void *ctx);
17 const std::shared_ptr<eos::EOS> eos;
18 const double thresholdTemperature;
19 const std::shared_ptr<logs::Log> log;
20 const std::shared_ptr<logs::Log> historyLog;
22 const std::string species;
23 const std::vector<double> location;
26 PetscInt cellOfInterest;
28 std::vector<double> timeHistory;
29 std::vector<double> temperatureHistory;
35 explicit IgnitionDelayTemperature(std::shared_ptr<eos::EOS>, std::vector<double> location,
double thresholdTemperature, std::shared_ptr<logs::Log> log = {},
36 std::shared_ptr<logs::Log> historyLog = {});
39 void Register(std::shared_ptr<solver::Solver>)
override;
Definition: ignitionDelayTemperature.hpp:13
PetscMonitorFunction GetPetscFunction() override
Definition: ignitionDelayTemperature.hpp:40
void Register(std::shared_ptr< solver::Solver >) override
Definition: ignitionDelayTemperature.cpp:21
Definition: monitor.hpp:12
Definition: boundarySolverMonitor.hpp:16