queso-0.57.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
QUESO::InterpolationSurrogateBase< V, M > Class Template Reference

Base class for interpolation-based surrogates. More...

#include <InterpolationSurrogateBase.h>

Inheritance diagram for QUESO::InterpolationSurrogateBase< V, M >:
QUESO::SurrogateBase< V > QUESO::LinearLagrangeInterpolationSurrogate< V, M >

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 ()
 

Detailed Description

template<class V = GslVector, class M = GslMatrix>
class QUESO::InterpolationSurrogateBase< V, M >

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:

  1. Bounded domain; future work may extend behavior to unbounded domains.
  2. Structured grids on the parameter domain. Subclasses will determine behavior of spacing (uniform vs. directionally-uniform, etc.).

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.

Constructor & Destructor Documentation

template<class V , class M >
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.

40  : SurrogateBase<V>(),
41  m_data(data)
42  {}
const InterpolationSurrogateData< V, M > & m_data
template<class V = GslVector, class M = GslMatrix>
virtual QUESO::InterpolationSurrogateBase< V, M >::~InterpolationSurrogateBase ( )
inlinevirtual

Definition at line 62 of file InterpolationSurrogateBase.h.

62 {};
template<class V = GslVector, class M = GslMatrix>
QUESO::InterpolationSurrogateBase< V, M >::InterpolationSurrogateBase ( )
private

Member Data Documentation

template<class V = GslVector, class M = GslMatrix>
const InterpolationSurrogateData<V,M>& QUESO::InterpolationSurrogateBase< V, M >::m_data
protected

The documentation for this class was generated from the following files:

Generated on Tue Jun 5 2018 19:49:40 for queso-0.57.1 by  doxygen 1.8.5