SpECTRE  v2021.12.06
domain::FunctionsOfTime::FunctionOfTimeHelpers::StoredInfo< MaxDerivPlusOne, StoreCoefs > Struct Template Reference

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
 
StoredInfooperator= (StoredInfo &&)=default
 
 StoredInfo (const StoredInfo &)=default
 
StoredInfooperator= (const StoredInfo &)=default
 
void pup (PUP::er &p)
 

Public Attributes

double time {std::numeric_limits<double>::signaling_NaN()}
 
std::array< DataVector, MaxDerivPlusOne > stored_quantities
 

Detailed Description

template<size_t MaxDerivPlusOne, bool StoreCoefs = true>
struct domain::FunctionsOfTime::FunctionOfTimeHelpers::StoredInfo< MaxDerivPlusOne, StoreCoefs >

Stores info at a particlar time about a function and its derivatives.

Details

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)


The documentation for this struct was generated from the following file: