Public Member Functions | Private Member Functions | Private Attributes
RichExtrapVerification Class Reference

Class for Richardson extrapolation for code and solution verification. More...

Inheritance diagram for RichExtrapVerification:
Verification Analyzer Iterator

List of all members.

Public Member Functions

 RichExtrapVerification (Model &model)
 constructor
 ~RichExtrapVerification ()
 destructor
void perform_verification ()
 Redefines the run_iterator virtual function for the PStudy/DACE branch.
void print_results (std::ostream &s)
 print the final iterator results

Private Member Functions

void estimate_order ()
 perform a single estimation of convOrder using extrapolation()
void converge_order ()
 iterate using extrapolation() until convOrder stabilizes
void converge_qoi ()
 iterate using extrapolation() until QOIs stabilize
void extrapolation (const RealVector &refine_triple, RealMatrix &qoi_triples)
 estimate convOrder from refinement and quantity of interest (QOI) triples
void extrapolate_result (const RealVector &refine_triple, const RealMatrix &qoi_triples)
 predict the converged value based on the convergence rate and the value of Phi

Private Attributes

short studyType
 internal code for extrapolation study type: ESTIMATE_ORDER, CONVERGE_ORDER, or CONVERGE_QOI
size_t numFactors
 number of refinement factors defined from active state variables
RealVector initialCVars
 initial reference values for refinement factors
size_t factorIndex
 the index of the active factor
Real refinementRate
 rate of mesh refinement (default = 2.)
RealMatrix convOrder
 the orders of convergence of the QOIs (numFunctions by numFactors)
RealMatrix extrapQOI
 the extrapolated value of the QOI (numFunctions by numFactors)
RealMatrix numErrorQOI
 the numerical uncertainty associated with level of refinement (numFunctions by numFactors)
RealVector refinementRefPt
 This is a reference point reported for the converged extrapQOI and numErrorQOI. It currently corresponds to the coarsest mesh in the final refinement triple.

Detailed Description

Class for Richardson extrapolation for code and solution verification.

The RichExtrapVerification class contains several algorithms for performing Richardson extrapolation.


Member Function Documentation

void print_results ( std::ostream &  s) [virtual]

print the final iterator results

This virtual function provides additional iterator-specific final results outputs beyond the function evaluation summary printed in finalize_run().

Reimplemented from Verification.

References Model::continuous_variable_labels(), RichExtrapVerification::convOrder, Dakota::copy_data(), RichExtrapVerification::extrapQOI, Iterator::iteratedModel, RichExtrapVerification::numErrorQOI, RichExtrapVerification::refinementRate, RichExtrapVerification::refinementRefPt, Model::response_labels(), and Dakota::write_data().

void estimate_order ( ) [private]
void converge_order ( ) [private]
void converge_qoi ( ) [private]

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