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);
|
---|
13 |
|
---|
14 | #ifdef _SERIAL_
|
---|
15 | void Dakotax(mxArray* femmodel);
|
---|
16 | void SpawnCoreSerial(double* responses, int numresponses, double* variables, char** variables_descriptors,int numvariables, mxArray* femmodel,int counter);
|
---|
17 | #else
|
---|
18 | void Dakotax(FemModel* femmodel);
|
---|
19 | void SpawnCoreParallel(double* responses, int numresponses, double* variables, char** variables_descriptors,int numvariables, FemModel* femmodel,int counter);
|
---|
20 | void DakotaResponses(double* responses,char** responses_descriptors,int numresponses,FemModel* femmodel);
|
---|
21 | void DakotaMPI_Bcast(double** pvariables, char*** pvariables_descriptors,int* pnumvariables, int* pnumresponses);
|
---|
22 | void DakotaFree(double** pvariables,char*** pvariables_descriptors,char*** presponses_descriptors,int numvariables,int numresponses);
|
---|
23 | #endif
|
---|
24 |
|
---|
25 | #endif /* _DAKOTAX_H */
|
---|