www.mooseframework.org
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
SingleSeriesBasisInterface Class Referenceabstract

This class is a simple wrapper around FunctionalBasisInterface, and intended for use by any single functional series like Legendre, Zernike, etc... More...

#include <SingleSeriesBasisInterface.h>

Inheritance diagram for SingleSeriesBasisInterface:
[legend]

Public Member Functions

 SingleSeriesBasisInterface ()
 
 SingleSeriesBasisInterface (const std::vector< MooseEnum > &domains, const std::vector< std::size_t > &orders, const unsigned int number_of_terms)
 
virtual ~SingleSeriesBasisInterface ()
 
 SingleSeriesBasisInterface (const SingleSeriesBasisInterface &)=delete
 
 SingleSeriesBasisInterface (SingleSeriesBasisInterface &&)=delete
 
void operator= (const SingleSeriesBasisInterface &)=delete
 
SingleSeriesBasisInterfaceoperator= (SingleSeriesBasisInterface &&)=delete
 
virtual bool isCacheInvalid () const final
 Whether the cached values correspond to the current point. More...
 
virtual void setLocation (const Point &point) final
 Set the location that will be used by the series to compute values. More...
 
virtual void setOrder (const std::vector< std::size_t > &orders) final
 Set the order of the series. More...
 
virtual void setPhysicalBounds (const std::vector< Real > &bounds) final
 Sets the bounds of the series. More...
 
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. More...
 
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 convert the Cartesian coordinates into a more suitable system. More...
 
std::size_t getOrder (std::size_t domain) const
 Returns the order of the particular domain index. More...
 
Real operator[] (std::size_t index) const
 Returns the current evaluation at the given index. More...
 
const std::vector< Real > & getAllGeneration ()
 Returns an array reference containing the value of each generation term. More...
 
const std::vector< Real > & getAllExpansion ()
 Returns an array reference containing the value of each expansion term. More...
 
std::size_t getNumberOfTerms () const
 Returns the number of terms in the series. More...
 
Real getGeneration ()
 Gets the last term of the generation functional basis. More...
 
Real getGenerationSeriesSum ()
 Gets the sum of all terms in the generation functional basis. More...
 
Real getExpansion ()
 Gets the #_order-th term of the expansion functional basis. More...
 
Real getExpansionSeriesSum ()
 Evaluates the sum of all terms in the expansion functional basis up to #_order. More...
 
virtual const std::vector< Real > & getStandardizedFunctionLimits () const =0
 Returns a vector of the lower and upper bounds of the standard functional space. More...
 
virtual Real getStandardizedFunctionVolume () const =0
 Returns the volume within the standardized function local_limits. More...
 
bool isGeneration () const
 Returns true if the current evaluation is generation. More...
 
bool isExpansion () const
 Returns true if the current evaluation is expansion. More...
 
virtual bool isInPhysicalBounds (const Point &point) const =0
 Determines if the point provided is in within the physical bounds. More...
 

Public Attributes

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 standardized location. More...
 

Static Public Attributes

static MooseEnum _domain_options
 An enumeration of the domains available to each functional series. More...
 

Protected Member Functions

virtual void evaluateGeneration () override
 Evaluate the generation form of the functional basis. More...
 
virtual void evaluateExpansion () override
 Evaluate the expansion form of the functional basis. More...
 
virtual void checkPhysicalBounds (const std::vector< Real > &bounds) const =0
 Checks the physical bounds according to the actual implementation. More...
 
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 evaluate the series. More...
 
virtual void clearBasisEvaluation (const unsigned int &number_of_terms)
 Set all entries of the basis evaluation to zero. More...
 
Real load (std::size_t index) const
 Helper function to load a value from #_series. More...
 
void save (std::size_t index, Real value)
 Helper function to store a value in #_series. More...
 

Protected Attributes

std::vector< std::size_t > _orders
 The order of the series. More...
 
std::vector< Real > _physical_bounds
 The physical bounds of the series. More...
 
std::vector< Real > _standardized_location
 The standardized location of evaluation. More...
 
std::function< void()> _evaluateExpansionWrapper
 The expansion evaluation wrapper. More...
 
std::function< void()> _evaluateGenerationWrapper
 The generation evaluation wrapper. More...
 
unsigned int _number_of_terms
 The number of terms in the series. More...
 

Private Member Functions

virtual void clearBasisEvaluation (const unsigned int &number_of_terms)
 Set all entries of the basis evaluation to zero. More...
 

Private Attributes

bool _are_physical_bounds_specified
 Flag for if the physical bounds are specified for this series. More...
 
std::vector< Real > _location
 The domain locations of the current evaluation. More...
 
bool _is_cache_invalid
 indicates if the evaluated values correspond to the current location More...
 
std::vector< Real > _basis_evaluation
 Stores the values of the basis evaluation. More...
 
bool _is_generation
 Indicates whether the current evaluation is expansion or generation. More...
 

Detailed Description

This class is a simple wrapper around FunctionalBasisInterface, and intended for use by any single functional series like Legendre, Zernike, etc...

Definition at line 19 of file SingleSeriesBasisInterface.h.

Constructor & Destructor Documentation

◆ SingleSeriesBasisInterface() [1/4]

SingleSeriesBasisInterface::SingleSeriesBasisInterface ( )

Definition at line 20 of file SingleSeriesBasisInterface.C.

22  _domains({_domain_options = "x"}),
23  _orders({0}),
24  _physical_bounds(2, 0.0),
27  _location(_domains.size(), 0.0)
28 {
29 }

◆ SingleSeriesBasisInterface() [2/4]

SingleSeriesBasisInterface::SingleSeriesBasisInterface ( const std::vector< MooseEnum > &  domains,
const std::vector< std::size_t > &  orders,
const unsigned int  number_of_terms 
)

Definition at line 31 of file SingleSeriesBasisInterface.C.

34  : FunctionalBasisInterface(number_of_terms),
35  _domains(domains),
36  _orders(orders),
37  _physical_bounds(2, 0.0),
38  _standardized_location(1, 0.0),
40  _location(_domains.size(), 0.0)
41 {
42 }

◆ ~SingleSeriesBasisInterface()

SingleSeriesBasisInterface::~SingleSeriesBasisInterface ( )
virtual

Definition at line 138 of file SingleSeriesBasisInterface.C.

138 {}

◆ SingleSeriesBasisInterface() [3/4]

SingleSeriesBasisInterface::SingleSeriesBasisInterface ( const SingleSeriesBasisInterface )
delete

◆ SingleSeriesBasisInterface() [4/4]

SingleSeriesBasisInterface::SingleSeriesBasisInterface ( SingleSeriesBasisInterface &&  )
delete

Member Function Documentation

◆ calculatedNumberOfTermsBasedOnOrder()

virtual std::size_t SingleSeriesBasisInterface::calculatedNumberOfTermsBasedOnOrder ( const std::vector< std::size_t > &  order) const
pure virtual

Returns the number of terms in the single series given a value for the order.

Implemented in Zernike, and Legendre.

Referenced by setOrder().

◆ checkPhysicalBounds()

virtual void SingleSeriesBasisInterface::checkPhysicalBounds ( const std::vector< Real > &  bounds) const
protectedpure virtual

Checks the physical bounds according to the actual implementation.

Implemented in Zernike, and Legendre.

Referenced by setPhysicalBounds().

◆ clearBasisEvaluation() [1/2]

void FunctionalBasisInterface::clearBasisEvaluation
private

Set all entries of the basis evaluation to zero.

Definition at line 144 of file FunctionalBasisInterface.C.

145 {
146  _basis_evaluation.assign(number_of_terms, 0.0);
147  _basis_evaluation.shrink_to_fit();
148 }

◆ clearBasisEvaluation() [2/2]

void FunctionalBasisInterface::clearBasisEvaluation ( const unsigned int &  number_of_terms)
protectedvirtualinherited

Set all entries of the basis evaluation to zero.

Definition at line 144 of file FunctionalBasisInterface.C.

145 {
146  _basis_evaluation.assign(number_of_terms, 0.0);
147  _basis_evaluation.shrink_to_fit();
148 }

Referenced by FunctionalBasisInterface::getAllExpansion(), FunctionalBasisInterface::getAllGeneration(), CompositeSeriesBasisInterface::setNumberOfTerms(), and setOrder().

◆ evaluateExpansion()

void SingleSeriesBasisInterface::evaluateExpansion ( )
overrideprotectedvirtual

Evaluate the expansion form of the functional basis.

Implements FunctionalBasisInterface.

Definition at line 57 of file SingleSeriesBasisInterface.C.

58 {
60 }

◆ evaluateGeneration()

void SingleSeriesBasisInterface::evaluateGeneration ( )
overrideprotectedvirtual

Evaluate the generation form of the functional basis.

Implements FunctionalBasisInterface.

Definition at line 51 of file SingleSeriesBasisInterface.C.

52 {
54 }

◆ extractLocationFromPoint()

std::vector< Real > SingleSeriesBasisInterface::extractLocationFromPoint ( const Point &  point) const
protected

Convert a spatial point to a location that the series will use to determine the value at which to evaluate the series.

Definition at line 122 of file SingleSeriesBasisInterface.C.

123 {
124  std::vector<Real> location(_domains.size());
125 
126  // Update the locations as specified by _domain
127  for (std::size_t index = 0; index < _domains.size(); ++index)
128  location[index] = point(_domains[index]);
129  return location;
130 }

Referenced by Legendre::isInPhysicalBounds(), Zernike::isInPhysicalBounds(), and setLocation().

◆ getAllExpansion()

const std::vector< Real > & FunctionalBasisInterface::getAllExpansion ( )
inherited

Returns an array reference containing the value of each expansion term.

Definition at line 72 of file FunctionalBasisInterface.C.

73 {
74  if (isGeneration() || isCacheInvalid())
75  {
77 
79 
80  _is_generation = false;
81  _is_cache_invalid = false;
82  }
83 
84  return _basis_evaluation;
85 }

Referenced by FunctionalBasisInterface::getExpansion(), and FunctionalBasisInterface::getExpansionSeriesSum().

◆ getAllGeneration()

const std::vector< Real > & FunctionalBasisInterface::getAllGeneration ( )
inherited

Returns an array reference containing the value of each generation term.

Definition at line 56 of file FunctionalBasisInterface.C.

57 {
58  if (isExpansion() || isCacheInvalid())
59  {
61 
63 
64  _is_generation = true;
65  _is_cache_invalid = false;
66  }
67 
68  return _basis_evaluation;
69 }

Referenced by FunctionalBasisInterface::getGeneration(), and FunctionalBasisInterface::getGenerationSeriesSum().

◆ getExpansion()

Real FunctionalBasisInterface::getExpansion ( )
inherited

Gets the #_order-th term of the expansion functional basis.

Definition at line 113 of file FunctionalBasisInterface.C.

114 {
115  // Use getAllExpansion() which will lazily evaluate the series as needed
116  return getAllExpansion().back();
117 }

◆ getExpansionSeriesSum()

Real FunctionalBasisInterface::getExpansionSeriesSum ( )
inherited

Evaluates the sum of all terms in the expansion functional basis up to #_order.

Definition at line 120 of file FunctionalBasisInterface.C.

121 {
122  Real sum = 0.0;
123 
124  // Use getAllExpansion() which will lazily evaluate the series as needed
125  for (auto term : getAllExpansion())
126  sum += term;
127 
128  return sum;
129 }

Referenced by TEST().

◆ getGeneration()

Real FunctionalBasisInterface::getGeneration ( )
inherited

Gets the last term of the generation functional basis.

Definition at line 94 of file FunctionalBasisInterface.C.

95 {
96  // Use getAllGeneration() which will lazily evaluate the series as needed
97  return getAllGeneration().back();
98 }

◆ getGenerationSeriesSum()

Real FunctionalBasisInterface::getGenerationSeriesSum ( )
inherited

Gets the sum of all terms in the generation functional basis.

Definition at line 101 of file FunctionalBasisInterface.C.

102 {
103  Real sum = 0.0;
104 
105  // Use getAllGeneration() which will lazily evaluate the series as needed
106  for (auto term : getAllGeneration())
107  sum += term;
108 
109  return sum;
110 }

Referenced by TEST().

◆ getNumberOfTerms()

std::size_t FunctionalBasisInterface::getNumberOfTerms ( ) const
inherited

Returns the number of terms in the series.

Definition at line 88 of file FunctionalBasisInterface.C.

89 {
90  return _number_of_terms;
91 }

Referenced by Legendre::evaluateSqrtMu(), and TEST().

◆ getOrder()

std::size_t SingleSeriesBasisInterface::getOrder ( std::size_t  domain) const

Returns the order of the particular domain index.

Definition at line 133 of file SingleSeriesBasisInterface.C.

134 {
135  return domain < _orders.size() ? _orders[domain] : -1;
136 }

◆ getStandardizedFunctionLimits()

virtual const std::vector<Real>& FunctionalBasisInterface::getStandardizedFunctionLimits ( ) const
pure virtualinherited

Returns a vector of the lower and upper bounds of the standard functional space.

Implemented in Zernike, Legendre, and CompositeSeriesBasisInterface.

◆ getStandardizedFunctionVolume()

virtual Real FunctionalBasisInterface::getStandardizedFunctionVolume ( ) const
pure virtualinherited

Returns the volume within the standardized function local_limits.

Implemented in Zernike, Legendre, and CompositeSeriesBasisInterface.

◆ getStandardizedLocation()

virtual std::vector<Real> SingleSeriesBasisInterface::getStandardizedLocation ( const std::vector< Real > &  location) const
pure virtual

Standardize the location according to the requirements of the underlying basis, which may actually convert the Cartesian coordinates into a more suitable system.

The second version exists simply to return the value.

Implemented in Zernike, and Legendre.

Referenced by setLocation().

◆ isCacheInvalid()

bool SingleSeriesBasisInterface::isCacheInvalid ( ) const
finalvirtual

Whether the cached values correspond to the current point.

Implements FunctionalBasisInterface.

Definition at line 45 of file SingleSeriesBasisInterface.C.

46 {
47  return _is_cache_invalid;
48 }

◆ isExpansion()

bool FunctionalBasisInterface::isExpansion ( ) const
inherited

Returns true if the current evaluation is expansion.

Definition at line 50 of file FunctionalBasisInterface.C.

51 {
52  return !_is_generation;
53 }

Referenced by FunctionalBasisInterface::getAllGeneration().

◆ isGeneration()

bool FunctionalBasisInterface::isGeneration ( ) const
inherited

Returns true if the current evaluation is generation.

Definition at line 44 of file FunctionalBasisInterface.C.

45 {
46  return _is_generation;
47 }

Referenced by FunctionalBasisInterface::getAllExpansion().

◆ isInPhysicalBounds()

virtual bool FunctionalBasisInterface::isInPhysicalBounds ( const Point &  point) const
pure virtualinherited

Determines if the point provided is in within the physical bounds.

Implemented in Zernike, Legendre, and CompositeSeriesBasisInterface.

◆ load()

Real FunctionalBasisInterface::load ( std::size_t  index) const
protectedinherited

◆ operator=() [1/2]

void SingleSeriesBasisInterface::operator= ( const SingleSeriesBasisInterface )
delete

◆ operator=() [2/2]

SingleSeriesBasisInterface& SingleSeriesBasisInterface::operator= ( SingleSeriesBasisInterface &&  )
delete

◆ operator[]()

Real FunctionalBasisInterface::operator[] ( std::size_t  index) const
inherited

Returns the current evaluation at the given index.

Definition at line 38 of file FunctionalBasisInterface.C.

39 {
40  return (index > _basis_evaluation.size() ? 0.0 : _basis_evaluation[index]);
41 }

◆ save()

void FunctionalBasisInterface::save ( std::size_t  index,
Real  value 
)
protectedinherited

◆ setLocation()

void SingleSeriesBasisInterface::setLocation ( const Point &  point)
finalvirtual

Set the location that will be used by the series to compute values.

Implements FunctionalBasisInterface.

Definition at line 102 of file SingleSeriesBasisInterface.C.

103 {
104  std::vector<Real> oldLocation(_location);
105 
106  // Update the physical-space location
108 
109  // Standardize the location if standardized bounds exist
112  else
114 
115  // Once the location is changed, the cached values correspond to an old location
116  for (std::size_t i = 0; !_is_cache_invalid && (i < _location.size()); ++i)
117  if (oldLocation[i] != _location[i])
118  _is_cache_invalid = true;
119 }

Referenced by TEST().

◆ setOrder()

void SingleSeriesBasisInterface::setOrder ( const std::vector< std::size_t > &  orders)
finalvirtual

Set the order of the series.

Implements FunctionalBasisInterface.

Definition at line 63 of file SingleSeriesBasisInterface.C.

64 {
65  if (orders.size() != _orders.size())
66  mooseError("SSBI: Invalid 'orders' use in setOrder()!");
67 
68  /*
69  * Do nothing if the order isn't changed. Note that this only compares the first value - it is
70  * assumed that a single series only needs to be described using a single order.
71  */
72  if (orders[0] == _orders[0])
73  return;
74 
75  _orders = orders;
76 
77  // Set the new number of terms in the single series
79 
80  // Zero the basis evaluation
82  _is_cache_invalid = true;
83 }

◆ setPhysicalBounds()

void SingleSeriesBasisInterface::setPhysicalBounds ( const std::vector< Real > &  bounds)
finalvirtual

Sets the bounds of the series.

Implements FunctionalBasisInterface.

Definition at line 86 of file SingleSeriesBasisInterface.C.

87 {
88  // Use the concrete implementation to check the validity of the bounds
89  checkPhysicalBounds(bounds);
90 
91  _physical_bounds = bounds;
93 
94  /*
95  * Once the physical bounds have been changed, the normalization of a point will change, so the
96  * cached values will also be incorrect
97  */
98  _is_cache_invalid = true;
99 }

Member Data Documentation

◆ _are_physical_bounds_specified

bool SingleSeriesBasisInterface::_are_physical_bounds_specified
private

Flag for if the physical bounds are specified for this series.

Definition at line 95 of file SingleSeriesBasisInterface.h.

Referenced by setLocation(), and setPhysicalBounds().

◆ _basis_evaluation

std::vector<Real> FunctionalBasisInterface::_basis_evaluation
privateinherited

◆ _domain_options

MooseEnum FunctionalBasisInterface::_domain_options
staticinherited

An enumeration of the domains available to each functional series.

Definition at line 115 of file FunctionalBasisInterface.h.

Referenced by FunctionSeries::FunctionSeries(), SingleSeriesBasisInterface(), and TEST().

◆ _domains

const std::vector<MooseEnum> SingleSeriesBasisInterface::_domains

An ordered list of the x, y, and/or z domains needed by the functional basis to convert a point to a standardized location.

Definition at line 60 of file SingleSeriesBasisInterface.h.

Referenced by extractLocationFromPoint().

◆ _evaluateExpansionWrapper

std::function<void()> SingleSeriesBasisInterface::_evaluateExpansionWrapper
protected

The expansion evaluation wrapper.

Definition at line 88 of file SingleSeriesBasisInterface.h.

Referenced by evaluateExpansion(), Legendre::Legendre(), and Zernike::Zernike().

◆ _evaluateGenerationWrapper

std::function<void()> SingleSeriesBasisInterface::_evaluateGenerationWrapper
protected

The generation evaluation wrapper.

Definition at line 91 of file SingleSeriesBasisInterface.h.

Referenced by evaluateGeneration(), Legendre::Legendre(), and Zernike::Zernike().

◆ _is_cache_invalid

bool FunctionalBasisInterface::_is_cache_invalid
private

indicates if the evaluated values correspond to the current location

Definition at line 147 of file FunctionalBasisInterface.h.

◆ _is_generation

bool FunctionalBasisInterface::_is_generation
privateinherited

◆ _location

std::vector<Real> SingleSeriesBasisInterface::_location
private

The domain locations of the current evaluation.

This is private so that derived classes will be required to use _standardized_location, essentially forcing location-awareness compliance

Definition at line 99 of file SingleSeriesBasisInterface.h.

Referenced by setLocation().

◆ _number_of_terms

unsigned int FunctionalBasisInterface::_number_of_terms
protectedinherited

◆ _orders

std::vector<std::size_t> SingleSeriesBasisInterface::_orders
protected

◆ _physical_bounds

std::vector<Real> SingleSeriesBasisInterface::_physical_bounds
protected

◆ _standardized_location

std::vector<Real> SingleSeriesBasisInterface::_standardized_location
protected

The documentation for this class was generated from the following files:
FunctionalBasisInterface::_domain_options
static MooseEnum _domain_options
An enumeration of the domains available to each functional series.
Definition: FunctionalBasisInterface.h:115
SingleSeriesBasisInterface::_evaluateGenerationWrapper
std::function< void()> _evaluateGenerationWrapper
The generation evaluation wrapper.
Definition: SingleSeriesBasisInterface.h:91
SingleSeriesBasisInterface::_domains
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 ...
Definition: SingleSeriesBasisInterface.h:60
SingleSeriesBasisInterface::_evaluateExpansionWrapper
std::function< void()> _evaluateExpansionWrapper
The expansion evaluation wrapper.
Definition: SingleSeriesBasisInterface.h:88
FunctionalBasisInterface::FunctionalBasisInterface
FunctionalBasisInterface()
Definition: FunctionalBasisInterface.C:20
SingleSeriesBasisInterface::_location
std::vector< Real > _location
The domain locations of the current evaluation.
Definition: SingleSeriesBasisInterface.h:99
FunctionalBasisInterface::evaluateGeneration
virtual void evaluateGeneration()=0
Evaluate the generation form of the functional basis.
FunctionalBasisInterface::isCacheInvalid
virtual bool isCacheInvalid() const =0
Whether the cached values correspond to the current point.
FunctionalBasisInterface::_is_generation
bool _is_generation
Indicates whether the current evaluation is expansion or generation.
Definition: FunctionalBasisInterface.h:154
SingleSeriesBasisInterface::_standardized_location
std::vector< Real > _standardized_location
The standardized location of evaluation.
Definition: SingleSeriesBasisInterface.h:85
FunctionalBasisInterface::getAllGeneration
const std::vector< Real > & getAllGeneration()
Returns an array reference containing the value of each generation term.
Definition: FunctionalBasisInterface.C:56
SingleSeriesBasisInterface::_are_physical_bounds_specified
bool _are_physical_bounds_specified
Flag for if the physical bounds are specified for this series.
Definition: SingleSeriesBasisInterface.h:95
FunctionalBasisInterface::_number_of_terms
unsigned int _number_of_terms
The number of terms in the series.
Definition: FunctionalBasisInterface.h:144
FunctionalBasisInterface::isExpansion
bool isExpansion() const
Returns true if the current evaluation is expansion.
Definition: FunctionalBasisInterface.C:50
SingleSeriesBasisInterface::_physical_bounds
std::vector< Real > _physical_bounds
The physical bounds of the series.
Definition: SingleSeriesBasisInterface.h:82
FunctionalBasisInterface::clearBasisEvaluation
virtual void clearBasisEvaluation(const unsigned int &number_of_terms)
Set all entries of the basis evaluation to zero.
Definition: FunctionalBasisInterface.C:144
FunctionalBasisInterface::evaluateExpansion
virtual void evaluateExpansion()=0
Evaluate the expansion form of the functional basis.
FunctionalBasisInterface::isGeneration
bool isGeneration() const
Returns true if the current evaluation is generation.
Definition: FunctionalBasisInterface.C:44
FunctionalBasisInterface::_is_cache_invalid
bool _is_cache_invalid
indicates if the evaluated values correspond to the current location
Definition: FunctionalBasisInterface.h:147
SingleSeriesBasisInterface::checkPhysicalBounds
virtual void checkPhysicalBounds(const std::vector< Real > &bounds) const =0
Checks the physical bounds according to the actual implementation.
FunctionalBasisInterface::getAllExpansion
const std::vector< Real > & getAllExpansion()
Returns an array reference containing the value of each expansion term.
Definition: FunctionalBasisInterface.C:72
SingleSeriesBasisInterface::_orders
std::vector< std::size_t > _orders
The order of the series.
Definition: SingleSeriesBasisInterface.h:79
FunctionalBasisInterface::_basis_evaluation
std::vector< Real > _basis_evaluation
Stores the values of the basis evaluation.
Definition: FunctionalBasisInterface.h:151
SingleSeriesBasisInterface::calculatedNumberOfTermsBasedOnOrder
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.
SingleSeriesBasisInterface::getStandardizedLocation
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...
SingleSeriesBasisInterface::extractLocationFromPoint
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...
Definition: SingleSeriesBasisInterface.C:122