feat(weak): major weak rate progress
Major weak rate progress which includes: A refactor of many of the public interfaces for GridFire Engines to use composition objects as opposed to raw abundance vectors. This helps prevent index mismatch errors. Further, the weak reaction class has been expanded with the majority of an implimentation, including an atomic_base derived class to allow for proper auto diff tracking of the interpolated table results. Some additional changes are that the version of fourdst and libcomposition have been bumped to versions with smarter caching of intermediate vectors and a few bug fixes.
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
#include "gridfire/trigger/trigger_result.h"
|
||||
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace gridfire::trigger {
|
||||
template <typename TriggerContextStruct>
|
||||
@@ -16,11 +15,11 @@ namespace gridfire::trigger {
|
||||
virtual void update(const TriggerContextStruct& ctx) = 0;
|
||||
virtual void reset() = 0;
|
||||
|
||||
virtual std::string name() const = 0;
|
||||
virtual std::string describe() const = 0;
|
||||
virtual TriggerResult why(const TriggerContextStruct& ctx) const = 0;
|
||||
[[nodiscard]] virtual std::string name() const = 0;
|
||||
[[nodiscard]] virtual std::string describe() const = 0;
|
||||
[[nodiscard]] virtual TriggerResult why(const TriggerContextStruct& ctx) const = 0;
|
||||
|
||||
virtual size_t numTriggers() const = 0;
|
||||
virtual size_t numMisses() const = 0;
|
||||
[[nodiscard]] virtual size_t numTriggers() const = 0;
|
||||
[[nodiscard]] virtual size_t numMisses() const = 0;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user