Dakota  Version 6.16
Explore and Predict with Confidence
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Namespaces | Functions
dakota_dll_api.cpp File Reference

This file contains a DakotaRunner class, which launches DAKOTA. More...

Namespaces

 Dakota
 The primary namespace for DAKOTA.
 

Functions

void DAKOTA_DLL_FN dakota_create (int *dakota_ptr_int, const char *logname)
 create and configure a new DakotaRunner, adding it to list of instances
 
int DAKOTA_DLL_FN dakota_readInput (int id, const char *dakotaInput)
 command DakotaRunner instance id to read from file dakotaInput
 
void DAKOTA_DLL_FN dakota_get_variable_info (int id, char ***pVarNames, int *pNumVarNames, char ***pRespNames, int *pNumRespNames)
 return the variable and response names
 
int DAKOTA_DLL_FN dakota_start (int id)
 command DakotaRunner instance id to start (plugin interface and run strategy)
 
void DAKOTA_DLL_FN dakota_destroy (int id)
 delete Dakota runner instance id and remove from active list
 
void DAKOTA_DLL_FN dakota_stop (int *id)
 command DakotaRunner instance id to stop execution More...
 
const char *DAKOTA_DLL_FN dakota_getStatus (int id)
 return current results output as a string
 
int get_mc_ptr_int ()
 get the DAKOTA pointer to ModelCenter
 
void set_mc_ptr_int (int ptr_int)
 set the DAKOTA pointer to ModelCenter
 
int get_dc_ptr_int ()
 get the DAKOTA pointer to ModelCenter current design point
 
void set_dc_ptr_int (int ptr_int)
 set the DAKOTA pointer to ModelCenter current design point
 

Detailed Description

This file contains a DakotaRunner class, which launches DAKOTA.

Function Documentation

void DAKOTA_DLL_FN dakota_stop ( int *  id)

command DakotaRunner instance id to stop execution

TODO: trick application to quit through the syscall interface or throw exception.