Go to the documentation of this file.
24 const std::vector<std::size_t> & orders,
25 const unsigned int number_of_terms);
36 virtual void setLocation(
const Point & point)
final;
37 virtual void setOrder(
const std::vector<std::size_t> & orders)
final;
56 std::size_t
getOrder(std::size_t domain)
const;
std::function< void()> _evaluateGenerationWrapper
The generation evaluation wrapper.
const std::vector< MooseEnum > _domains
An ordered list of the x, y, and/or z domains needed by the functional basis to convert a point to a ...
virtual void evaluateExpansion() override
Evaluate the expansion form of the functional basis.
std::function< void()> _evaluateExpansionWrapper
The expansion evaluation wrapper.
std::vector< Real > _location
The domain locations of the current evaluation.
virtual bool isCacheInvalid() const final
Whether the cached values correspond to the current point.
virtual void evaluateGeneration() override
Evaluate the generation form of the functional basis.
SingleSeriesBasisInterface()
std::size_t getOrder(std::size_t domain) const
Returns the order of the particular domain index.
virtual ~SingleSeriesBasisInterface()
void operator=(const SingleSeriesBasisInterface &)=delete
std::vector< Real > _standardized_location
The standardized location of evaluation.
virtual void setPhysicalBounds(const std::vector< Real > &bounds) final
Sets the bounds of the series.
This class is a simple wrapper around FunctionalBasisInterface, and intended for use by any single fu...
bool _are_physical_bounds_specified
Flag for if the physical bounds are specified for this series.
std::vector< Real > _physical_bounds
The physical bounds of the series.
virtual void clearBasisEvaluation(const unsigned int &number_of_terms)
Set all entries of the basis evaluation to zero.
virtual void setLocation(const Point &point) final
Set the location that will be used by the series to compute values.
bool _is_cache_invalid
indicates if the evaluated values correspond to the current location
virtual void checkPhysicalBounds(const std::vector< Real > &bounds) const =0
Checks the physical bounds according to the actual implementation.
std::vector< std::size_t > _orders
The order of the series.
virtual std::size_t calculatedNumberOfTermsBasedOnOrder(const std::vector< std::size_t > &order) const =0
Returns the number of terms in the single series given a value for the order.
virtual void setOrder(const std::vector< std::size_t > &orders) final
Set the order of the series.
virtual std::vector< Real > getStandardizedLocation(const std::vector< Real > &location) const =0
Standardize the location according to the requirements of the underlying basis, which may actually co...
std::vector< Real > extractLocationFromPoint(const Point &point) const
Convert a spatial point to a location that the series will use to determine the value at which to eva...
This class provides the basis for any custom functional basis, and is the parent class of both Single...