25 #ifndef UQ_VALIDATION_CYCLE_H
26 #define UQ_VALIDATION_CYCLE_H
28 #include <queso/VectorFunction.h>
29 #include <queso/GenericVectorFunction.h>
30 #include <queso/StatisticalInverseProblem.h>
31 #include <queso/StatisticalForwardProblem.h>
53 template <
class P_V = GslVector,
class P_M = GslMatrix,
class Q_V = GslVector,
class Q_M = GslMatrix>
87 void (*qoiRoutinePtr)(
const P_V& domainVector,
88 const P_V* domainDirection,
89 const void* functionDataPtr,
94 const void* qoiRoutineDataPtr);
121 void (*qoiRoutinePtr)(
const P_V& domainVector,
122 const P_V* domainDirection,
123 const void* functionDataPtr,
128 const void* qoiRoutineDataPtr);
172 #endif // UQ_VALIDATION_CYCLE_H
~ValidationCycle()
Destructor.
void instantiateCalFP(SfpOptionsValues *optionsValues, void(*qoiRoutinePtr)(const P_V &domainVector, const P_V *domainDirection, const void *functionDataPtr, Q_V &imageVector, DistArray< P_V * > *gradVectors, DistArray< P_M * > *hessianMatrices, DistArray< P_V * > *hessianEffects), const void *qoiRoutineDataPtr)
Instantiate a forward problem for the calibration stage.
void instantiateValFP(SfpOptionsValues *optionsValues, void(*qoiRoutinePtr)(const P_V &domainVector, const P_V *domainDirection, const void *functionDataPtr, Q_V &imageVector, DistArray< P_V * > *gradVectors, DistArray< P_M * > *hessianMatrices, DistArray< P_V * > *hessianEffects), const void *qoiRoutineDataPtr)
Instantiate a forward problem for the validation stage.
This class provides options for a Statistical Forward Problem if no input file is available...
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
StatisticalInverseProblem< P_V, P_M > * m_valIP
ValidationCycle(const BaseEnvironment &env, const char *prefix, const VectorSpace< P_V, P_M > ¶mSpace, const VectorSpace< P_V, P_M > &qoiSpace)
Constructor.
const StatisticalInverseProblem< P_V, P_M > & calIP() const
Inverse problem of the calibration stage (const) .
GenericVectorRV< Q_V, Q_M > * m_valQoiRv
const BaseEnvironment & env() const
Access to the environment variable (m_env).
This class provides options for a Statistical Inverse Problem if no input file is available...
const BaseScalarFunction< P_V, P_M > * m_calLikelihoodFunctionObj
This templated class represents a Statistical Forward Problem.
A class for handling generic vector functions.
const VectorSpace< P_V, P_M > & m_paramSpace
StatisticalForwardProblem< P_V, P_M, Q_V, Q_M > * m_calFP
void instantiateCalIP(SipOptionsValues *optionsValues, const BaseVectorRV< P_V, P_M > &priorRv, const BaseScalarFunction< P_V, P_M > &likelihoodFunctionObj)
Instantiate an inverse problem for the calibration stage.
GenericVectorFunction< P_V, P_M, Q_V, Q_M > * m_calQoiFunctionObj
const BaseScalarFunction< P_V, P_M > * m_valLikelihoodFunctionObj
const VectorSpace< Q_V, Q_M > & m_qoiSpace
const BaseEnvironment & m_env
const StatisticalForwardProblem< P_V, P_M, Q_V, Q_M > & valFP() const
Forward problem of the validation stage (const) .
This templated class represents a Statistical Inverse Problem.
A class for partitioning vectors and matrices.
StatisticalForwardProblem< P_V, P_M, Q_V, Q_M > * m_valFP
StatisticalInverseProblem< P_V, P_M > * m_calIP
void instantiateValIP(SipOptionsValues *optionsValues, const BaseScalarFunction< P_V, P_M > &likelihoodFunctionObj)
Instantiate an inverse problem for the validation stage.
const StatisticalInverseProblem< P_V, P_M > & valIP() const
Inverse problem of the validation stage (const) .
const BaseVectorRV< P_V, P_M > * m_calPriorRv
GenericVectorRV< Q_V, Q_M > * m_calQoiRv
GenericVectorRV< P_V, P_M > * m_calPostRv
const StatisticalForwardProblem< P_V, P_M, Q_V, Q_M > & calFP() const
Forward problem of the calibration stage (const) .
GenericVectorRV< P_V, P_M > * m_valPostRv
GenericVectorFunction< P_V, P_M, Q_V, Q_M > * m_valQoiFunctionObj
A templated class for validation cycle of the examples validationCycle and validationCycle2.