$extrastylesheet
Dakota  Version 6.2
Public Member Functions | Protected Member Functions | Private Member Functions
TestDriverInterface Class Reference
Inheritance diagram for TestDriverInterface:
DirectApplicInterface ApplicationInterface Interface

List of all members.

Public Member Functions

 TestDriverInterface (const ProblemDescDB &problem_db)
 constructor
 ~TestDriverInterface ()
 destructor

Protected Member Functions

virtual int derived_map_ac (const Dakota::String &ac_name)
 execute an analysis code portion of a direct evaluation invocation

Private Member Functions

int cantilever ()
 scaled cantilever test function for optimization
int mod_cantilever ()
 unscaled cantilever test function for UQ
int cyl_head ()
 the cylinder head constrained optimization test fn
int multimodal ()
 multimodal UQ test function
int log_ratio ()
 the log_ratio UQ test function
int short_column ()
 the short_column UQ/OUU test function
int lf_short_column ()
 a low fidelity short_column test function
int mf_short_column ()
 alternate short_column formulations for < multifidelity or model form studies
int alternate_short_column_forms (int form)
 helper fn for alternate forms
int side_impact_cost ()
 the side_impact_cost UQ/OUU test function
int side_impact_perf ()
 the side_impact_perf UQ/OUU test function
int rosenbrock ()
 the Rosenbrock optimization and least squares test fn
int generalized_rosenbrock ()
 n-dimensional Rosenbrock (Schittkowski)
int extended_rosenbrock ()
 n-dimensional Rosenbrock (Nocedal/Wright)
int lf_rosenbrock ()
 a low fidelity version of the Rosenbrock function
int mf_rosenbrock ()
 alternate Rosenbrock formulations for < multifidelity or model form studies
int gerstner ()
 the isotropic/anisotropic Gerstner test function family
int scalable_gerstner ()
 scalable versions of the Gerstner test family
void get_genz_coefficients (int num_dims, Real factor, int c_type, RealVector &c, RealVector &w)
 define coefficients needs for genz model
int genz ()
 scalable test functions from the Genz test suite
int damped_oscillator ()
 1d-6d that returns field values (ode solution)
int steel_column_cost ()
 the steel_column_cost UQ/OUU test function
int steel_column_perf ()
 the steel_column_perf UQ/OUU test function
int sobol_rational ()
 Sobol SA rational test function.
int sobol_g_function ()
 Sobol SA discontinuous test function.
int sobol_ishigami ()
 Sobol SA transcendental test function.
int text_book ()
 the text_book constrained optimization test function
int text_book1 ()
 portion of text_book() evaluating the objective fn
int text_book2 ()
 portion of text_book() evaluating constraint 1
int text_book3 ()
 portion of text_book() evaluating constraint 2
int text_book_ouu ()
 the text_book_ouu OUU test function
int scalable_text_book ()
 scalable version of the text_book test function
int scalable_monomials ()
 simple monomials for UQ exactness testing
void herbie1D (size_t der_mode, Real xc_loc, std::vector< Real > &w_and_ders)
 1D components of herbie function
void smooth_herbie1D (size_t der_mode, Real xc_loc, std::vector< Real > &w_and_ders)
 1D components of smooth_herbie function
void shubert1D (size_t der_mode, Real xc_loc, std::vector< Real > &w_and_ders)
 1D components of shubert function
int herbie ()
 returns the N-D herbie function
int smooth_herbie ()
 returns the N-D smooth herbie function
int shubert ()
 returns the N-D shubert function
void separable_combine (Real mult_scale_factor, std::vector< Real > &w, std::vector< Real > &d1w, std::vector< Real > &d2w)
 utility to combine components of separable fns
int salinas ()
 direct interface to the SALINAS structural dynamics code
int mc_api_run ()
 direct interface to ModelCenter via API, HKIM 4/3/03

Detailed Description

Specialization of DirectApplicInterface to embed algebraic test function drivers directly in Dakota


Member Function Documentation

int derived_map_ac ( const Dakota::String &  ac_name) [protected, virtual]

execute an analysis code portion of a direct evaluation invocation

Derived map to evaluate a particular built-in test analysis function

Reimplemented from DirectApplicInterface.

References Dakota::abort_handler(), ApplicationInterface::analysisServerId, TestDriverInterface::cantilever(), TestDriverInterface::cyl_head(), TestDriverInterface::damped_oscillator(), DirectApplicInterface::driverTypeMap, TestDriverInterface::extended_rosenbrock(), TestDriverInterface::generalized_rosenbrock(), TestDriverInterface::genz(), TestDriverInterface::gerstner(), TestDriverInterface::herbie(), TestDriverInterface::lf_rosenbrock(), TestDriverInterface::lf_short_column(), TestDriverInterface::log_ratio(), TestDriverInterface::mc_api_run(), TestDriverInterface::mf_rosenbrock(), TestDriverInterface::mf_short_column(), TestDriverInterface::mod_cantilever(), TestDriverInterface::multimodal(), TestDriverInterface::rosenbrock(), TestDriverInterface::salinas(), TestDriverInterface::scalable_gerstner(), TestDriverInterface::scalable_monomials(), TestDriverInterface::scalable_text_book(), TestDriverInterface::short_column(), TestDriverInterface::shubert(), TestDriverInterface::side_impact_cost(), TestDriverInterface::side_impact_perf(), TestDriverInterface::smooth_herbie(), TestDriverInterface::sobol_g_function(), TestDriverInterface::sobol_ishigami(), TestDriverInterface::sobol_rational(), TestDriverInterface::steel_column_cost(), TestDriverInterface::steel_column_perf(), TestDriverInterface::text_book(), TestDriverInterface::text_book1(), TestDriverInterface::text_book2(), TestDriverInterface::text_book3(), and TestDriverInterface::text_book_ouu().

void herbie1D ( size_t  der_mode,
Real  xc_loc,
std::vector< Real > &  w_and_ders 
) [private]

1D components of herbie function

1D Herbie function and its derivatives (apart from a multiplicative factor)

Referenced by TestDriverInterface::herbie().

void smooth_herbie1D ( size_t  der_mode,
Real  xc_loc,
std::vector< Real > &  w_and_ders 
) [private]

1D components of smooth_herbie function

1D Smoothed Herbie= 1DHerbie minus the high frequency sine term, and its derivatives (apart from a multiplicative factor)

Referenced by TestDriverInterface::smooth_herbie().

void shubert1D ( size_t  der_mode,
Real  xc_loc,
std::vector< Real > &  w_and_ders 
) [private]

1D components of shubert function

1D Shubert function and its derivatives (apart from a multiplicative factor)

Referenced by TestDriverInterface::shubert().

int herbie ( ) [private]
int smooth_herbie ( ) [private]
void separable_combine ( Real  mult_scale_factor,
std::vector< Real > &  w,
std::vector< Real > &  d1w,
std::vector< Real > &  d2w 
) [private]

utility to combine components of separable fns

this function combines N 1D functions and their derivatives to compute a N-D separable function and its derivatives, logic is general enough to support different 1D functions in different dimensions (can mix and match)

References DirectApplicInterface::directFnASV, DirectApplicInterface::directFnDVV, DirectApplicInterface::fnGrads, DirectApplicInterface::fnHessians, DirectApplicInterface::fnVals, DirectApplicInterface::numDerivVars, and DirectApplicInterface::numVars.

Referenced by TestDriverInterface::herbie(), TestDriverInterface::shubert(), and TestDriverInterface::smooth_herbie().

int mc_api_run ( ) [private]

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