WaveBEM: Unsteady Nonlinear Potential Flow Solver for Ship-Wave Interaction.
boat_surface.h
Go to the documentation of this file.
1 
2 #ifndef boat_surface_h
3 #define boat_surface_h
4 
5 #include <deal.II/base/point.h>
8 
9 
10 using namespace dealii;
11 
12 template <int dim>
13 class BoatSurface : public StraightBoundary<dim-1,dim>
14 {
15 public:
16 
17  BoatSurface();
18 
19  void declare_parameters(ParameterHandler &prm);
20 
21  void parse_parameters(ParameterHandler &prm);
22 
23  double HullFunction(const Point<dim> point) const;
24 
25  Point<dim> HullNormal(const Point<dim> point) const;
26 
27  double HullMeanCurvature(const Point<dim> point) const;
28 
29  virtual Point<dim> get_new_point_on_line
30  (const typename Triangulation< dim-1,dim >::line_iterator &line) const;
31 
32  virtual Point<dim> get_new_point_on_quad
33  (const typename Triangulation< dim-1,dim >::quad_iterator &quad) const;
34 
35 private:
36 
37 };
38 
39 #endif
Point< 3 > point(const gp_Pnt &p)