Changeset 662
- Timestamp:
- 06/01/09 09:59:30 (16 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Makefile.am
r651 r662 295 295 ./objects/Friction.h\ 296 296 ./objects/Friction.cpp\ 297 ./objects/DakotaPlugin.h\ 298 ./objects/DakotaPlugin.cpp\ 297 299 ./objects/Node.h\ 298 300 ./objects/Node.cpp\ … … 542 544 ./parallel/SpawnCore.cpp\ 543 545 ./parallel/ProcessResults.cpp\ 546 ./parallel/qmu.cpp\ 547 ./parallel/DakotaResponses.cpp\ 544 548 ./parallel/OutputResults.cpp 545 549 -
issm/trunk/src/c/objects/DakotaPlugin.cpp
r586 r662 2 2 */ 3 3 4 #include "DakotaResponse.H"5 #include "ParamResponsePair.H"6 #include "DakotaPlugin.h"7 #include "system_defs.h"8 #include "ProblemDescDB.H"9 #include "ParallelLibrary.H"10 11 #include "../shared/shared.h"12 #include "../include/macros.h"13 #include "../objects/objects.h"14 #include "../parallel/parallel.h"15 4 16 5 #ifdef HAVE_CONFIG_H … … 20 9 #endif 21 10 11 /*Standard ISSM includes: */ 12 #include "../shared/shared.h" 13 #include "../include/macros.h" 14 #include "../objects/objects.h" 15 #include "../parallel/parallel.h" 16 17 /*Standard includes: */ 22 18 #include <string> 23 19 20 #ifdef _HAVE_DAKOTA_ //only works if dakota library has been compiled in. 21 22 //Dakota headers 23 #include "DakotaResponse.H" 24 #include "ParamResponsePair.H" 25 #include "DakotaPlugin.h" 26 #include "system_defs.h" 27 #include "ProblemDescDB.H" 28 #include "ParallelLibrary.H" 24 29 25 30 namespace SIM { … … 91 96 92 97 } // namespace SIM 98 99 100 #endif //only works if dakota library has been compiled in. -
issm/trunk/src/c/objects/DakotaPlugin.h
r586 r662 8 8 #ifndef DAKOTAPLUGIN_H 9 9 #define DAKOTAPLUGIN_H 10 11 12 #ifdef _HAVE_DAKOTA_ //only works if dakota library has been compiled in. 10 13 11 14 #include "DirectApplicInterface.H" … … 43 46 } // namespace SIM 44 47 48 #endif //only works if dakota library has been compiled in. 49 45 50 46 51 #endif -
issm/trunk/src/c/parallel/diagnostic.cpp
r660 r662 103 103 /*run qmu analysis: */ 104 104 _printf_("calling qmu analysis on diagnostic core:\n"); 105 106 //qmu(qmuinname,qmuoutname,qmuerrname,&femmodels[0],inputs,DiagnosticAnalysisEnum(),NoneAnalysisEnum()); 105 106 #ifdef _HAVE_DAKOTA_ 107 qmu(qmuinname,qmuoutname,qmuerrname,&femmodels[0],inputs,DiagnosticAnalysisEnum(),NoneAnalysisEnum()); 108 #else 109 throw ErrorException(__FUNCT__," Dakota not present, cannot do qmu!"); 110 #endif 107 111 } 108 112 -
issm/trunk/src/c/parallel/qmu.cpp
r659 r662 12 12 #define __FUNCT__ "qmu" 13 13 14 #include "../objects/DakotaPlugin.h" 15 #include "../shared/shared.h" 16 #include "../include/macros.h" 17 #include "parallel.h" 18 19 20 #ifdef _HAVE_DAKOTA_ //only works if dakota library has been compiled in. 21 14 22 #include "ParallelLibrary.H" 15 23 #include "ProblemDescDB.H" … … 18 26 #include "DakotaInterface.H" 19 27 20 #include "../objects/DakotaPlugin.h"21 #include "../shared/shared.h"22 #include "../include/macros.h"23 #include "parallel.h"24 28 25 29 void qmu(const char* dakota_input_file,const char* dakota_output_file,const char* dakota_error_file, FemModel* femmodels,ParameterInputs* inputs,int analysis_type,int sub_analysis_type){ … … 94 98 } 95 99 } 100 101 #endif //only works if dakota library has been compiled in. 102
Note:
See TracChangeset
for help on using the changeset viewer.