Dakota  Version 6.21
Explore and Predict with Confidence
Functions
dakota_dll_api.h File Reference

API for DLL interactions. More...

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
 
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 DAKOTA_DLL_FN get_mc_ptr_int ()
 get the DAKOTA pointer to ModelCenter
 
void DAKOTA_DLL_FN set_mc_ptr_int (int ptr_int)
 set the DAKOTA pointer to ModelCenter
 
int DAKOTA_DLL_FN get_dc_ptr_int ()
 get the DAKOTA pointer to ModelCenter current design point
 
void DAKOTA_DLL_FN set_dc_ptr_int (int ptr_int)
 set the DAKOTA pointer to ModelCenter current design point
 
void DAKOTA_DLL_FN dakota_get_variable_info (int id, char ***pVarNames, int *pNumVarNames, char ***pRespNames, int *pNumRespNames)
 return the variable and response names
 

Detailed Description

API for DLL interactions.

Function Documentation

◆ dakota_stop()

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.