Go to the documentation of this file.
12 #include "MooseEnum.h"
13 #include "MooseError.h"
14 #include "MooseTypes.h"
107 virtual void setOrder(
const std::vector<std::size_t> & orders) = 0;
136 Real
load(std::size_t index)
const;
141 void save(std::size_t index, Real value);
virtual Real getStandardizedFunctionVolume() const =0
Returns the volume within the standardized function local_limits.
static MooseEnum _domain_options
An enumeration of the domains available to each functional series.
FunctionalBasisInterface()
virtual void evaluateGeneration()=0
Evaluate the generation form of the functional basis.
Real getGenerationSeriesSum()
Gets the sum of all terms in the generation functional basis.
Real load(std::size_t index) const
Helper function to load a value from #_series.
virtual bool isCacheInvalid() const =0
Whether the cached values correspond to the current point.
virtual bool isInPhysicalBounds(const Point &point) const =0
Determines if the point provided is in within the physical bounds.
virtual const std::vector< Real > & getStandardizedFunctionLimits() const =0
Returns a vector of the lower and upper bounds of the standard functional space.
bool _is_generation
Indicates whether the current evaluation is expansion or generation.
const std::vector< Real > & getAllGeneration()
Returns an array reference containing the value of each generation term.
virtual void setOrder(const std::vector< std::size_t > &orders)=0
Set the order of the series.
Real getGeneration()
Gets the last term of the generation functional basis.
unsigned int _number_of_terms
The number of terms in the series.
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 operator[](std::size_t index) const
Returns the current evaluation at the given index.
virtual void clearBasisEvaluation(const unsigned int &number_of_terms)
Set all entries of the basis evaluation to zero.
virtual void evaluateExpansion()=0
Evaluate the expansion form of the functional basis.
bool isGeneration() const
Returns true if the current evaluation is generation.
void save(std::size_t index, Real value)
Helper function to store a value in #_series.
bool _is_cache_invalid
indicates if the evaluated values correspond to the current location
const std::vector< Real > & getAllExpansion()
Returns an array reference containing the value of each expansion term.
std::size_t getNumberOfTerms() const
Returns the number of terms in the series.
virtual void setPhysicalBounds(const std::vector< Real > &bounds)=0
Sets the bounds of the series.
virtual void setLocation(const Point &point)=0
Set the location that will be used by the series to compute values.
std::vector< Real > _basis_evaluation
Stores the values of the basis evaluation.
Real getExpansion()
Gets the #_order-th term of the expansion functional basis.
This class provides the basis for any custom functional basis, and is the parent class of both Single...