source: issm/trunk/src/c/modules/Dakotax/Dakotax.h@ 9795

Last change on this file since 9795 was 9795, checked in by Mathieu Morlighem, 14 years ago

Some Dakotax modules must be compiled in serial and parallel

File size: 1.2 KB
RevLine 
[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: */
12int SpawnCore(double* responses, int numresponses, double* variables, char** variables_descriptors,int numvariables, void* femmodel,int counter);
[9761]13int DescriptorIndex(char* root, int* pindex,char* descriptor);
[9571]14
15#ifdef _SERIAL_
16void Dakotax(mxArray* femmodel);
17void SpawnCoreSerial(double* responses, int numresponses, double* variables, char** variables_descriptors,int numvariables, mxArray* femmodel,int counter);
18#else
19void Dakotax(FemModel* femmodel);
20void SpawnCoreParallel(double* responses, int numresponses, double* variables, char** variables_descriptors,int numvariables, FemModel* femmodel,int counter);
[9795]21#endif
[9571]22void DakotaResponses(double* responses,char** responses_descriptors,int numresponses,FemModel* femmodel);
23void DakotaMPI_Bcast(double** pvariables, char*** pvariables_descriptors,int* pnumvariables, int* pnumresponses);
24void DakotaFree(double** pvariables,char*** pvariables_descriptors,char*** presponses_descriptors,int numvariables,int numresponses);
25
26#endif /* _DAKOTAX_H */
Note: See TracBrowser for help on using the repository browser.