25 #ifndef UQ_SCALAR_FUNCTION_SYNCHRONIZER_H
26 #define UQ_SCALAR_FUNCTION_SYNCHRONIZER_H
28 #include <queso/Environment.h>
35 template <
class V,
class M>
48 template <
class V = GslVector,
class M = GslMatrix>
74 const V* vecDirection,
79 double* extraOutput2)
const;
83 double* extraOutput2)
const;
94 #endif // UQ_SCALAR_FUNCTION_SYNCHRONIZER_H
A templated (base) class for handling scalar functions.
A templated class for synchronizing the calls of scalar functions (BaseScalarFunction and derived cla...
const BayesianJointPdf< V, M > * m_bayesianJointPdfPtr
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
double callFunction(const V *vecValues, const V *vecDirection, V *gradVector, M *hessianMatrix, V *hessianEffect, double *extraOutput1, double *extraOutput2) const
Calls the scalar function which will be synchronized.
A templated class for handling sets.
~ScalarFunctionSynchronizer()
Destructor.
ScalarFunctionSynchronizer(const BaseScalarFunction< V, M > &inputFunction, const V &auxVec)
Default constructor.
const VectorSet< V, M > & domainSet() const
Access to the domain set of the scalar function which will be synchronized.
const BaseScalarFunction< V, M > & m_scalarFunction
A class for handling Bayesian joint PDFs.
const BaseEnvironment & m_env