WaveBEM: Unsteady Nonlinear Potential Flow Solver for Ship-Wave Interaction.
ode_argument.h
Go to the documentation of this file.
1 #ifndef __thiwi__ode_argument_h
2 #define __thiwi__ode_argument_h
3 
4 #include <deal.II/lac/vector.h>
6 
7 using namespace dealii;
8 
13 {
14 public :
16  virtual unsigned int n_dofs() const = 0;
17 
22  virtual void output_step(Vector<double> &solution,
23  Vector<double> &solution_dot,
24  const double t,
25  const unsigned int step_number,
26  const double h) = 0;
27 
33  virtual bool solution_check( Vector<double> &solution,
34  Vector<double> &solution_dot,
35  const double t,
36  const unsigned int step_number,
37  const double h) = 0;
38 
41  virtual int residual(const double t,
42  Vector<double> &dst,
43  const Vector<double> &src_yy,
44  const Vector<double> &src_yp) = 0;
45 
47  virtual int jacobian(const double t,
48  Vector<double> &dst,
49  const Vector<double> &src_yy,
50  const Vector<double> &src_yp,
51  const Vector<double> &src,
52  const double alpha);
53 
55  virtual int setup_jacobian_prec(const double t,
56  const Vector<double> &src_yy,
57  const Vector<double> &src_yp,
58  const double alpha);
59 
62  virtual int jacobian_prec(const double t,
63  Vector<double> &dst,
64  const Vector<double> &src_yy,
65  const Vector<double> &src_yp,
66  const Vector<double> &src,
67  const double alpha);
68 
75  virtual Vector<double> &differential_components();
76 
77  virtual Vector<double> &get_diameters();
78 
79  virtual ~OdeArgument() {};
80 
81  bool reset_time_integrator;
82 
84 
85 };
86 
87 #endif
virtual ~OdeArgument()
Definition: ode_argument.h:79
bool stop_time_integrator
Definition: ode_argument.h:83
Base class that needs to be inherited by any function that wants to use the time integrator class...
Definition: ode_argument.h:12