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
const BaseVectorRV< P_V, P_M > * m_calPriorRv
StatisticalInverseProblem< P_V, P_M > * m_calIP
StatisticalForwardProblem< P_V, P_M, Q_V, Q_M > * m_calFP
GenericVectorFunction< P_V, P_M, Q_V, Q_M > * m_calQoiFunctionObj
const StatisticalForwardProblem< P_V, P_M, Q_V, Q_M > & valFP() const
Forward problem of the validation stage (const) .
This class provides options for a Statistical Inverse Problem if no input file is available...
const VectorSpace< P_V, P_M > & m_paramSpace
StatisticalForwardProblem< P_V, P_M, Q_V, Q_M > * m_valFP
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.
const StatisticalInverseProblem< P_V, P_M > & calIP() const
Inverse problem of the calibration stage (const) .
A templated class for validation cycle of the examples validationCycle and validationCycle2.
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.
const VectorSpace< Q_V, Q_M > & m_qoiSpace
void instantiateValIP(SipOptionsValues *optionsValues, const BaseScalarFunction< P_V, P_M > &likelihoodFunctionObj)
Instantiate an inverse problem for the validation stage.
GenericVectorRV< Q_V, Q_M > * m_calQoiRv
This class provides options for a Statistical Forward Problem if no input file is available...
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.
const BaseEnvironment & m_env
StatisticalInverseProblem< P_V, P_M > * m_valIP
GenericVectorRV< P_V, P_M > * m_calPostRv
A class for handling generic vector functions.
This templated class represents a Statistical Forward Problem.
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
~ValidationCycle()
Destructor.
ValidationCycle(const BaseEnvironment &env, const char *prefix, const VectorSpace< P_V, P_M > ¶mSpace, const VectorSpace< P_V, P_M > &qoiSpace)
Constructor.
A class for partitioning vectors and matrices.
const BaseScalarFunction< P_V, P_M > * m_calLikelihoodFunctionObj
const StatisticalForwardProblem< P_V, P_M, Q_V, Q_M > & calFP() const
Forward problem of the calibration stage (const) .
const BaseEnvironment & env() const
Access to the environment variable (m_env).
const BaseScalarFunction< P_V, P_M > * m_valLikelihoodFunctionObj
GenericVectorFunction< P_V, P_M, Q_V, Q_M > * m_valQoiFunctionObj
const StatisticalInverseProblem< P_V, P_M > & valIP() const
Inverse problem of the validation stage (const) .
GenericVectorRV< P_V, P_M > * m_valPostRv
GenericVectorRV< Q_V, Q_M > * m_valQoiRv
This templated class represents a Statistical Inverse Problem.