[9571] | 1 | /*!\file: Dakotax.h
|
---|
| 2 | * \brief header file for Qmu engine using Dakota
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | #ifndef _DAKOTAX_H
|
---|
| 6 | #define _DAKOTAX_H
|
---|
| 7 |
|
---|
| 8 | #include "../../Container/Container.h"
|
---|
| 9 | #include "../../objects/objects.h"
|
---|
| 10 |
|
---|
| 11 | /* local prototypes: */
|
---|
| 12 | int SpawnCore(double* responses, int numresponses, double* variables, char** variables_descriptors,int numvariables, void* femmodel,int counter);
|
---|
[9761] | 13 | int DescriptorIndex(char* root, int* pindex,char* descriptor);
|
---|
[9571] | 14 |
|
---|
[11995] | 15 | #if defined(_HAVE_MATLAB_) && defined(_SERIAL_)
|
---|
[9571] | 16 | void Dakotax(mxArray* femmodel);
|
---|
| 17 | void SpawnCoreSerial(double* responses, int numresponses, double* variables, char** variables_descriptors,int numvariables, mxArray* femmodel,int counter);
|
---|
| 18 | #else
|
---|
| 19 | void Dakotax(FemModel* femmodel);
|
---|
| 20 | void SpawnCoreParallel(double* responses, int numresponses, double* variables, char** variables_descriptors,int numvariables, FemModel* femmodel,int counter);
|
---|
[9795] | 21 | #endif
|
---|
[9571] | 22 | void DakotaResponses(double* responses,char** responses_descriptors,int numresponses,FemModel* femmodel);
|
---|
| 23 | void DakotaMPI_Bcast(double** pvariables, char*** pvariables_descriptors,int* pnumvariables, int* pnumresponses);
|
---|
| 24 | void DakotaFree(double** pvariables,char*** pvariables_descriptors,char*** presponses_descriptors,int numvariables,int numresponses);
|
---|
| 25 |
|
---|
| 26 | #endif /* _DAKOTAX_H */
|
---|