Struct Galaxy::NoDeathRateHook
Defined in File Galaxy.hpp
Nested Relationships
This struct is a nested type of Class Galaxy.
Struct Documentation
-
struct NoDeathRateHook
A per-time hook for continuousDeathQuantity() that leaves each instantaneous rate unchanged.
The default for continuousDeathQuantity()’s own G – for a quantity (e.g. a supernova count) that needs no processing between its release and the end of the integration, unlike radioactive yields, whose hook applies decay.
Public Functions
-
inline void operator()(double, std::vector<double>&) const
Leave rate unchanged.
- Parameters:
t – Simulation time, in yr, at which rate applies
rate – The instantaneous rate at t
-
inline void operator()(double, std::vector<double>&) const