TriKota Development
Public Member Functions
TriKota::Driver Class Reference

Class which wraps library-mode Dakota calls into a few simple steps. More...

#include <TriKota_Driver.hpp>

List of all members.

Public Member Functions

 Driver (const char *dakota_in="dakota.in", const char *dakota_out="dakota.out", const char *dakota_err="dakota.err", const char *dakota_restart_out="dakota_restart.out")
 Constructor, with all dakota filenames having default values.
MPI_Comm getAnalysisComm ()
 Accessor to get an MPI_Comm from Dakota. This allows Dakota to choose the parallelism, and the application to be constructed as a second step using this communicator. If the application is built on MPI_COMM_WORLD, then this call can be used to verify that Dakota is running in that mode as well.
Dakota::ProblemDescDB & getProblemDescDB ()
 Accessor to get problem description from Dakota. This hook is used within TriKota::DirectApplicInterface to (re)set the initial parameters in Dakota using those selected in the model evaluator.
void run (Dakota::DirectApplicInterface *appInterface)
 Main call to execute the dakota analysis. The argument may be of type TriKota::DirectApplicInterface, whoch wraps an EpetraExt::ModelEvaluator.
const Dakota::Variables getFinalSolution () const
 Accessor for final parameters after an optimization run.

Detailed Description

Class which wraps library-mode Dakota calls into a few simple steps.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions