https://mooseframework.inl.gov
GaussianProcessSurrogate.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "SurrogateModel.h"
13 #include "Standardizer.h"
14 #include <Eigen/Dense>
15 #include "CovarianceInterface.h"
16 #include "GaussianProcess.h"
17 
19 {
20 public:
24  virtual Real evaluate(const std::vector<Real> & x) const;
25  virtual void evaluate(const std::vector<Real> & x, std::vector<Real> & y) const;
26  virtual Real evaluate(const std::vector<Real> & x, Real & std) const;
27  virtual void
28  evaluate(const std::vector<Real> & x, std::vector<Real> & y, std::vector<Real> & std) const;
29 
35  virtual void setupCovariance(UserObjectName _covar_name);
36 
38  const StochasticTools::GaussianProcess & getGP() const { return _gp; }
39 
40 private:
42 
45 };
virtual void setupCovariance(UserObjectName _covar_name)
This function is called by LoadCovarianceDataAction when the surrogate is loading training data from ...
const StochasticTools::GaussianProcess & getGP() const
StochasticTools::GaussianProcess & gp()
const std::vector< double > y
const RealEigenMatrix & _training_params
Paramaters (x) used for training.
const std::vector< double > x
virtual Real evaluate(const std::vector< Real > &x) const
Evaluate surrogate model given a row of parameters.
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealEigenMatrix
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real evaluate(const std::vector< Real > &x) const
Evaluate surrogate model given a row of parameters.
const InputParameters & parameters() const
StochasticTools::GaussianProcess & _gp
static InputParameters validParams()
Utility class dedicated to hold structures and functions commont to Gaussian Processes.
GaussianProcessSurrogate(const InputParameters &parameters)