12 #ifndef dakota_interface_h
13 #define dakota_interface_h
16 #include <deal.II/base/parameter_handler.h>
48 ParameterHandler&
param,
85 ParameterHandler ¶m);
91 const std::vector<double>& responses,
92 const std::vector<std::vector<double> >& dresponses_dl);
FuelCell::ApplicationCore::ApplicationWrapper * app
Pointer to nonlinear application.
Definition: dakota_interface.h:136
const std::string dakota_results
Name of the results file to DAKOTA.
Definition: dakota_interface.h:121
void DakotaWriteOut(const std::string dakota_results, const std::vector< double > &responses, const std::vector< std::vector< double > > &dresponses_dl)
Member function that is used to write the Dakota output file.
void DakotaReadIn(const std::string dakota_parameters, FuelCell::ApplicationCore::OptimizationBlockMatrixApplication< dim > &app, ParameterHandler ¶m)
Member function that is used to read the file from Dakota and perform the necessary changes on the Pa...
std::vector< int > ASV
Definition: dakota_interface.h:126
void declare_parameters(ParameterHandler ¶m)
Declare all parameters that are needed for:
const std::string input_file
Name of the analysis file.
Definition: dakota_interface.h:111
Classes used to interface the fuel cell analysis code with DAKOTA (an optimization toolbox)...
Definition: dakota_interface.h:38
~DakotaInterface()
Destructor.
Definition: dakota_interface.h:55
FuelCell::ApplicationCore::OptimizationBlockMatrixApplication< dim > * app_linear
Pointer to application.
Definition: dakota_interface.h:131
unsigned int n_ref
Number of refinements.
Definition: dakota_interface.h:101
This class implements either iterative or time-stepping wrapper of applications.
Definition: application_wrapper.h:39
std::string dakota_version
Dakota version used.
Definition: dakota_interface.h:106
const std::string dakota_parameters
Name of the parameters file from DAKOTA.
Definition: dakota_interface.h:116
void initialize(ParameterHandler ¶m)
Set up how many equations are needed and read in parameters for the parameter handler in order to ini...
ParameterHandler * param
Pointer to parameter handler object.
Definition: dakota_interface.h:139
Application handling matrices and assembling the linear system to solve the sensitivity equations...
Definition: optimization_block_matrix_application.h:49
DakotaInterface(const std::string input_file, ParameterHandler ¶m, const std::string dakota_parameters, const std::string dakota_results, FuelCell::ApplicationCore::OptimizationBlockMatrixApplication< dim > &app_lin, FuelCell::ApplicationCore::ApplicationWrapper &app)
Constructor for an object of this class.
bool gradients
Gradients necessary?
Definition: dakota_interface.h:97