56 const std::vector<Real> &
72 const std::vector<Real> &
std::vector< Real > _basis_evaluation
Stores the values of the basis evaluation.
virtual void evaluateExpansion()=0
Evaluate the expansion form of the functional basis.
Real getExpansion()
Gets the #_order-th term of the expansion functional basis.
Real operator[](std::size_t index) const
Returns the current evaluation at the given index.
bool _is_generation
Indicates whether the current evaluation is expansion or generation.
Real getGeneration()
Gets the last term of the generation functional basis.
const std::vector< Real > & getAllExpansion()
Returns an array reference containing the value of each expansion term.
unsigned int _number_of_terms
The number of terms in the series.
static MooseEnum _domain_options
An enumeration of the domains available to each functional series.
virtual void clearBasisEvaluation(const unsigned int &number_of_terms)
Set all entries of the basis evaluation to zero.
void save(std::size_t index, Real value)
Helper function to store a value in #_series.
Real getGenerationSeriesSum()
Gets the sum of all terms in the generation functional basis.
FunctionalBasisInterface()
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
const std::vector< Real > & getAllGeneration()
Returns an array reference containing the value of each generation term.
virtual bool isCacheInvalid() const =0
Whether the cached values correspond to the current point.
bool isExpansion() const
Returns true if the current evaluation is expansion.
Real getExpansionSeriesSum()
Evaluates the sum of all terms in the expansion functional basis up to #_order.
Real load(std::size_t index) const
Helper function to load a value from #_series.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void evaluateGeneration()=0
Evaluate the generation form of the functional basis.
std::size_t getNumberOfTerms() const
Returns the number of terms in the series.
bool isGeneration() const
Returns true if the current evaluation is generation.
bool _is_cache_invalid
indicates if the evaluated values correspond to the current location