SpECTRE
v2023.05.16
|
Stores info at a particlar time about a function and its derivatives. More...
#include <FunctionOfTimeHelpers.hpp>
Public Member Functions | |
StoredInfo (double t, std::array< DataVector, MaxDerivPlusOne > init_quantities) | |
StoredInfo (StoredInfo &&)=default | |
StoredInfo & | operator= (StoredInfo &&)=default |
StoredInfo (const StoredInfo &)=default | |
StoredInfo & | operator= (const StoredInfo &)=default |
void | pup (PUP::er &p) |
Public Attributes | |
double | time {std::numeric_limits<double>::signaling_NaN()} |
std::array< DataVector, MaxDerivPlusOne > | stored_quantities |
Stores info at a particlar time about a function and its derivatives.
MaxDerivPlusOne
template parameter is intended to be related to the maximum derivative that a FunctionOfTime is supposed to store. For a generic PiecewisePolynomial this will be the MaxDeriv + 1 (because we store the function as well as its derivatives). StoreCoefs
template parameter indicates that the coefficients of the polynomial used for evaluation are stored instead of the polynomial itself. The coefficient of \( x^N \) is the Nth deriv rescaled by 1/factorial(N)