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

Last change on this file since 9761 was 9761, checked in by Eric.Larour, 14 years ago

Added --with-control macro to configure script.
Can now strip out all control related routines from the parallel issm compilation.

File size: 1.2 KB
Line 
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);
13int DescriptorIndex(char* root, int* pindex,char* descriptor);
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);
21void DakotaResponses(double* responses,char** responses_descriptors,int numresponses,FemModel* femmodel);
22void DakotaMPI_Bcast(double** pvariables, char*** pvariables_descriptors,int* pnumvariables, int* pnumresponses);
23void DakotaFree(double** pvariables,char*** pvariables_descriptors,char*** presponses_descriptors,int numvariables,int numresponses);
24#endif
25
26#endif /* _DAKOTAX_H */
Note: See TracBrowser for help on using the repository browser.