ElmerFoamFSI  2.0
ElmerFoamFSI is fluid-solid interaction simulation application built up from OpenFOAM CFD and Elmer CSM coupled through the IMPACT multiphysics software integration infrastructure.
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Groups Pages
SolverModuleDriver.H
Go to the documentation of this file.
1 #ifndef __SOLVER_MODULE_DRIVER_H__
2 #define __SOLVER_MODULE_DRIVER_H__
3 
4 #include "SolverAgent.H"
5 #include "InterfaceLayer.H"
6 
7 class SolverModuleDriver : public SolverUtils::FEM::SolverAgent, public COM_Object
8 {
9  std::vector<double> tNext;
10  std::stringstream ss;
11  double var;
13  double* Disp;
14  int DispSize;
15  std::vector<double> DispPass;
16  double* Coord;
17  int* Conn;
19  int CoordSize;
20  bool coordData;
22  int ConnSize;
23  std::vector<unsigned int> elems;
24  double* Loads;
25  int LoadsSize;
26  std::vector<double> LoadsPass;
27  int runs;
28 
29 public:
30 
32  virtual ~SolverModuleDriver(){};
33  void usage(char *exec);
34  int init(int argc, char *argv[]);
35  int run();
36  int finalize();
37 };
38 
39 #endif
std::vector< double > DispPass
std::stringstream ss
std::vector< unsigned int > elems
int init(int argc, char *argv[])
std::vector< double > tNext
std::vector< double > LoadsPass