feat(thermal): add local shell kernel and time grid
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#ifndef FESA_ANALYSIS_THERMAL_TIME_GRID_H_
|
||||
#define FESA_ANALYSIS_THERMAL_TIME_GRID_H_
|
||||
#include <cstdint>
|
||||
#include "fesa/core/status.h"
|
||||
namespace fesa {
|
||||
class ThermalTimeGrid final { public:
|
||||
static Result<ThermalTimeGrid> Create(double period,double increment,std::uint32_t maximum);
|
||||
std::uint32_t Count() const noexcept; double Time(std::uint32_t index) const noexcept; double Delta(std::uint32_t index) const noexcept;
|
||||
private: ThermalTimeGrid(double p,double d,std::uint32_t n,bool close):period_(p),increment_(d),count_(n),close_(close){} double period_,increment_; std::uint32_t count_; bool close_; };
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user