WaveBEM: Unsteady Nonlinear Potential Flow Solver for Ship-Wave Interaction.
driver.h
Go to the documentation of this file.
1 #ifndef driver_h
2 #define driver_h
3 
4 
9 // And here are a few C++ standard header
10 // files that we will need:
11 #include <cmath>
12 #include <iostream>
13 #include <fstream>
14 #include <string>
15 #include <set>
16 
17 #include "bem_problem.h"
18 #include "bem_fma.h"
19 #include "free_surface.h"
20 #include "numerical_towing_tank.h"
21 
22 #include <dae_time_integrator.h>
23 
24 using namespace dealii;
25 
26 
27 template <int dim>
28 class Driver
29 {
30 public:
31 
32  Driver(int argc, char **argv);
33 
34  ~Driver();
35 
36  void run();
37 
38  void DeclareParameters();
39 
40  void ParseParameters();
41 
42  static std::string get_library_names();
43 
44 private:
45 
47 
48 
50 
52 
54 
56 
58 
59  std::string library_str;
60 
61  unsigned int maxNumSteps;
62 
63 };
64 
65 #endif
66 
BEMFMA< dim > fma
Definition: driver.h:49
NumericalTowingTank computational_domain
Definition: driver.h:46
BEMProblem< dim > bem_problem
Definition: driver.h:51
ParameterHandler prm
Definition: driver.h:57
unsigned int maxNumSteps
Definition: driver.h:61
Definition: driver.h:28
DAETimeIntegrator dae_time_int
Definition: driver.h:55
void run(const std::vector< std::vector< Iterator > > &colored_iterators, Worker worker, Copier copier, const ScratchData &sample_scratch_data, const CopyData &sample_copy_data, const unsigned int queue_length=2 *MultithreadInfo::n_threads(), const unsigned int chunk_size=8)
std::string library_str
Definition: driver.h:59
Definition: bem_fma.h:45
FreeSurface< dim > free_surface
Definition: driver.h:53