source: issm/trunk/src/c/classes/dakota/DakotaPlugin.h@ 13975

Last change on this file since 13975 was 13975, checked in by Mathieu Morlighem, 12 years ago

merged trunk-jpl and trunk for revision 13974

File size: 1.0 KB
RevLine 
[586]1/*!\file: DakotaPlugin.h:
2 */
3
[3420]4#ifndef _DAKOTAPLUGIN_H
5#define _DAKOTAPLUGIN_H
[586]6
[662]7#ifdef _HAVE_DAKOTA_ //only works if dakota library has been compiled in.
8
[3637]9/*Headers:*/
[13975]10#include <DirectApplicInterface.H>
[12832]11#include "../../toolkits/toolkits.h"
[12836]12#include "../../classes/classes.h"
[3637]13
[586]14namespace SIM {
15
16class DakotaPlugin: public Dakota::DirectApplicInterface
17{
18public:
19
[4042]20 DakotaPlugin(const Dakota::ProblemDescDB& problem_db,void* model);
[962]21 ~DakotaPlugin();
[586]22
[962]23 /*these fields are used by core solutions: */
[4042]24 void* femmodel;
[962]25
26 int counter;
27
[586]28protected:
29
30 // execute the input filter portion of a direct evaluation invocation
31 //int derived_map_if(const Dakota::String& if_name);
32 /// execute an analysis code portion of a direct evaluation invocation
33 int derived_map_ac(const Dakota::String& ac_name);
34 // execute the output filter portion of a direct evaluation invocation
35 //int derived_map_of(const Dakota::String& of_name);
36
[803]37 /*add for issm: */
38 int GetCounter();
39
[586]40private:
41
42};
43
44} // namespace SIM
45
[662]46#endif //only works if dakota library has been compiled in.
[586]47
48#endif
Note: See TracBrowser for help on using the repository browser.