queso-0.57.1
|
Base class for interpolation-based surrogates. More...
#include <InterpolationSurrogateBase.h>
Public Member Functions | |
InterpolationSurrogateBase (const InterpolationSurrogateData< V, M > &data) | |
Constructor. More... | |
virtual | ~InterpolationSurrogateBase () |
Public Member Functions inherited from QUESO::SurrogateBase< V > | |
SurrogateBase () | |
virtual | ~SurrogateBase () |
virtual double | evaluate (const V &domainVector) const =0 |
Method to return value given the parameter vector. More... | |
Protected Attributes | |
const InterpolationSurrogateData< V, M > & | m_data |
Private Member Functions | |
InterpolationSurrogateBase () | |
Base class for interpolation-based surrogates.
This class is used for surrogoate approximations of a model using interpolation. These surrogates map an \( n\) dimensional parameter space to the reals. That is \( f: \mathbb{R}^n \rightarrow \mathbb{R} \). Subclasses will define behavior of interpolant, but common assumptions are:
For the structured grid, we think of referencing each "node" in the box by its index coordinates (i,j,k,...), where i runs from (0, n_points[0]-1), j run from (0,n_points[1]-1), etc. We use this indexing to build maps.
Definition at line 52 of file InterpolationSurrogateBase.h.
QUESO::InterpolationSurrogateBase< V, M >::InterpolationSurrogateBase | ( | const InterpolationSurrogateData< V, M > & | data | ) |
Constructor.
The data object should be already fully populated when constructing this object. The user can directly set values or use the InterpolationSurrogateBuilder object to populate the data.
Definition at line 39 of file InterpolationSurrogateBase.C.
|
inlinevirtual |
Definition at line 62 of file InterpolationSurrogateBase.h.
|
private |
|
protected |
Definition at line 62 of file InterpolationSurrogateBase.h.
Referenced by QUESO::LinearLagrangeInterpolationSurrogate< V, M >::n_coeffs().