source: issm/oecreview/Archive/14312-15392/ISSM-14906-14907.diff

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

NEW: adding Archive/14312-15392 for oecreview

File size: 4.0 KB
  • ../trunk-jpl/src/c/solutions/DakotaSpawnCore.h

     
     1#ifndef _DAKOTA_SPAWN_CORE_
     2#define _DAKOTA_SPAWN_CORE_
     3int  DakotaSpawnCore(double* responses, int numresponses, double* variables, char** variables_descriptors,int numvariables, void* femmodel,int counter);
     4#endif
  • ../trunk-jpl/src/c/solutions/solutions.h

     
    55#ifndef SOLUTIONS_H_
    66#define SOLUTIONS_H_
    77
    8 #include "../classes/objects/objects.h"
    9 #include "../io/io.h"
    10 #include "../toolkits/toolkits.h"
    11 
     8/*forward declarations: */
    129struct OptArgs;
    1310class FemModel;
     11class Parameters;
     12template <class doubletype> class Matrix;
     13template <class doubletype> class Vector;
    1414
     15#include "../io/Comm/Comm.h"
     16#include "../include/types.h"
     17
    1518/*cores: */
    1619void adjointdiagnostic_core(FemModel* femmodel);
    1720void adjointbalancethickness_core(FemModel* femmodel);
     
    5053void ResetBoundaryConditions(FemModel* femmodel, int analysis_type);
    5154COMM EnvironmentInit(int argc,char** argv);
    5255void EnvironmentFinalize(void);
    53 int  DakotaSpawnCore(double* responses, int numresponses, double* variables, char** variables_descriptors,int numvariables, void* femmodel,int counter);
    5456void PrintBanner(void);
    5557
    5658//solution configuration
     
    5961void WrapperCorePointerFromSolutionEnum(void (**psolutioncore)(FemModel*),Parameters* parameters,int solutiontype,bool nodakotacore=false);
    6062void AdjointCorePointerFromSolutionEnum(void (**padjointcore)(FemModel*),int solutiontype);
    6163
     64
    6265#endif
  • ../trunk-jpl/src/c/solutions/dakota_core.cpp

     
    4747#include <DakotaStrategy.H>
    4848#include <DakotaModel.H>
    4949#include <DakotaInterface.H>
     50#include "./DakotaSpawnCore.h"
    5051#endif
    5152/*}}}*/
    5253
  • ../trunk-jpl/src/c/Makefile.am

     
    362362                                          ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h\
    363363                                          ./modules/ModelProcessorx/Dakota/CreateParametersDakota.cpp\
    364364                                          ./solutions/dakota_core.cpp\
     365                                          ./solutions/DakotaSpawnCore.h\
    365366                                          ./solutions/DakotaSpawnCore.cpp
    366367#}}}
    367368#Transient sources  {{{
  • ../trunk-jpl/src/c/classes/dakota/DakotaPlugin.cpp

     
    2020#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
    2121#endif
    2222
    23 /*Standard ISSM includes: */
    24 #include "../../shared/shared.h"
    25 #include "../../include/include.h"
    26 #include "../../solutions/solutions.h"
    27 #include "../classes.h"
    28 
    2923/*Standard includes: */
    3024#include <string>
    3125
     26/*ISSM includes: */
     27#include "../../include/types.h"
     28#include "../../shared/MemOps/MemOps.h"
     29#include "../../solutions/DakotaSpawnCore.h"
     30
     31
    3232#ifdef _HAVE_DAKOTA_ //only works if dakota library has been compiled in.
    3333
    3434//Dakota headers
  • ../trunk-jpl/src/c/classes/dakota/DakotaPlugin.h

     
    88
    99/*Headers:*/
    1010#include <DirectApplicInterface.H>
    11 #include "../../toolkits/toolkits.h"
    12 #include "../../classes/classes.h"
    1311
    1412namespace SIM {
    1513
Note: See TracBrowser for help on using the repository browser.